Re: alsactl adds volume controls?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Sep 2010, David Henningsson wrote:

> Interesting. I went looking into the snd_mixer_selem_* documentation (PA
> uses the simple mixer interface), but I couldn't find a function for
> determining whether a control is user-defined or not, would you mind
> pointing me to it? Thanks!

This logic is bad. We can have user-defined controls for the user space 
drivers or daemons.

The additional flag to mixer open functions - as proposed by Takashi - is 
more appropriate in this case when there is a system handling the software 
volume itself. But the question is quite same: How we can distinguish the 
software volume control? I think that some TLV information might do this 
job well.

 					Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux