Re: Alsamixer naming conventions

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

 



At Tue, 19 Sep 2006 17:51:23 +0530,
Vishwas P S wrote:
> 
> Adding to the below mail, even if I define a component as "Master Playback Balance",
> in the alsamixer window, I could see two components as "Master Playback Balance" and
> "Master Playback Balance capture" ..
>  
> I would like to know If I need to modify any other kcontrol fields to make it only for
> playback or only for capture..

The playback- and capture-specific control names have a style
"XXX (Payback|Catpure) (Switch|Volume)", such as "Master Playback
Switch" or "Mic Capture Volume".  The other suffices are not parsed as
the valid playback/capture modifies, so "Master Playback Balance" is
handled as a global control element without directional information.

It's a recent feature (or bug) of alsa-lib that global mixer elements
are handled as both playback and capture elements in the mixer
abstraction layer.  (In the earlier version, it appeared only in
playback.)  I don't like this new feature, too, honestly.

Anyway, in your case, rename it like "Master Balance Playback Switch"
or so.  Then it should be handled as "Master Balance" for playback.


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