On 03/18/2015 02:06 AM, Takashi Sakamoto wrote:
On 2015年03月17日 22:49, Damien Zammit wrote:
Can we include my mixer control into the driver?
Depends on the reason.
I think it is important to include the clock source selector switch as an alsamixer setting.
Please explain the importance, especially the reason to include the selector into kernel code instead of userspace application.
Can one access the device from userspace while the kernel is using it to stream audio or midi ("Device or resource busy") ?
This is one of the reasons, why USB soundcards expose all settings though the alsa mixer interface. It also offers a standardized interface for userspace apps to build on top and a method to directly link mixer to soundcard for systems with multiple soundcards.
How do you envisage to handle this?
2c, robin