Skip to contentSkip to conversation

Jointed mixer elements

DISCUSSION Sam Morris 2 participants 2 messages May 4, 2006

lore
Share & tools
lore

Sam Morris

author
#0 lore raw

What does it mean if a mixer element is 'joined'? The description of the following functions:

snd_mixer_selem_has_playback_volume_joined
snd_mixer_selem_has_playback_switch_joined
snd_mixer_selem_has_capture_volume_joined
snd_mixer_selem_has_capture_switch_joined

is just:

Return info about playback/capture volume/switch control of a mixer simple element

If these functions return true then amixer(1) describes the elements variously as having the switch-joined, pswitch-joined, cswitch-joined, volume-joined, pvolume-joined and cvolume-joined capabilities. However, I can't find out what these capabilities actually mean, nor can I work it out as elements with these capabilities seems to behave no differently in alsamixer.

Regards,

Signature · 13 lines
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#1 lore raw

At Thu, 4 May 2006 16:18:50 +0000 (UTC),

Quoted 14 lines · Sam Morris

What does it mean if a mixer element is 'joined'? The description of the following functions:

snd_mixer_selem_has_playback_volume_joined
snd_mixer_selem_has_playback_switch_joined
snd_mixer_selem_has_capture_volume_joined
snd_mixer_selem_has_capture_switch_joined

is just:

Return info about playback/capture volume/switch control of a mixer simple element

Quoted 6 lines

If these functions return true then amixer(1) describes the elements variously as having the switch-joined, pswitch-joined, cswitch-joined, volume-joined, pvolume-joined and cvolume-joined capabilities. However, I can't find out what these capabilities actually mean, nor can I work it out as elements with these capabilities seems to behave no differently in alsamixer.

They are for the cases that a mixer element consists of a stereo- channel volume and a single-channel mute switch, or vice versa. While left and right volumes can be set individually, a mono mute switch affects both left and right. In such a case, snd_mixer_selem_has_playback_switch_joined() returns true.

Takashi

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642