Re: Inexplicable mixer control creation

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

 



At Tue, 13 Mar 2007 20:21:08 -0400,
Randy Cushman wrote:
> 
> In attempting to implement my proposed mixer control name changes (see 
> " RFC: Enhance AD AC '97 mixer control names") I have 
> encountered behavior that makes no sense to me:  If module 
> snd_ac97_codec does not create a control with the name 'PCM Playback 
> Volume' then something else creates a control with that name.  Not 
> surprisingly, this phantom control serves no useful purpose in my 
> environment, as it has no affect on AC '97 control registers.

This is done by softvol plugin used in the default configuration for
many onboard chip drivers.  See alsa-lib/src/conf/cards/*.conf.

That's actually a point that I missed.  Many apps assume either
"Master" or "PCM" mixer exists.  Thus, removing PCM isn't nice for
them. 


Now I'm considering whether changing the volume names in the driver
level is actually a better choice.  It's basically simpler, and I
prefer a simpler solution.  OTOH, it may bring other messes because of
the name incompatibility like above.  So, the cleanest solution would
be some mangling in the user-space, i.e. inside alsa-lib.  But, it's
a bit harder way.

So, before doing this -- we have to *seriously* consider to get
consensus what control names should be used as standard and how they
behave.  Maybe better to start another thread for discussing this...


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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