Alsamixer naming conventions
Group,
I'be been having problems with naming kcontrol structs and the way they are displayed in Alsamixer GUI window.
I created a balance control to vary the balance b/n L and R of only playback stream and named it "Balance"
But when I do alsamixer -V all, it shows two components one being Balance playback and the other Balance capture.
How do I make a component only for playback or only for capture? Any naming conventions to be followed?
Any help would be great
Regards
Vishwas
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
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..
Rgds
Vishwas
Quoted 10 lines · Vishwas P S
Group,
I'be been having problems with naming kcontrol structs and the way they are displayed in Alsamixer GUI window.
I created a balance control to vary the balance b/n L and R of only playback stream and named it "Balance"
But when I do alsamixer -V all, it shows two components one being Balance playback and the other Balance capture.
Quoted 8 lines
How do I make a component only for playback or only for capture? Any naming conventions to be followed?
Any help would be great
Regards
Vishwas
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
At Tue, 19 Sep 2006 17:51:23 +0530,
Quoted 7 lines · Vishwas P S
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
Hi,
Thanks a Ton. This solved my problem.
I'm now able to see proper controls under Playback, Capture and All modes ..
Thanks again
Vishwas
Quoted 25 lines · Takashi Iwai
At Tue, 19 Sep 2006 17:51:23 +0530,
Quoted 2 lines · Vishwas P S
Adding to the below mail, even if I define a component as "Master
Playback Balance",
Quoted 1 line
in the alsamixer window, I could see two components as "Master Playback
Balance" and
Quoted 3 lines
"Master Playback Balance capture" ..
I would like to know If I need to modify any other kcontrol fields to
make it only for
Quoted 1 line
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.
Quoted 6 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel