Skip to contentSkip to conversation

: alsamixer cannot handle mixer controls that have separate mute for each channel.

ALSA - lib 0001219 [email protected] 1 participant 1 message Jun 29, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1219>
======================================================================
Reported By: jcdutton
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   1219
Category:                   simple mixer
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-29-2005 11:11 CEST
Last Modified:              06-29-2005 22:32 CEST

======================================================================
Summary: alsamixer cannot handle mixer controls that have
separate mute for each channel.
Description:
When a mixer control has a mute control for each channel, alsamixer is only able to adjust the left channel mute.
For example, with a snd-intel8x0 driver with the ac97 ALC650 codec, this has a separate mute control for surround left and surround right. alsamixer is only able to adjust/toggle the surround left mute control. So far in my investigations, this does not appear to be a bug in alsamixer. This still might be a bug in alsa-lib functions:
snd_mixer_selem_get_playback_switch(elem, chn_right, &sw); snd_mixer_selem_set_playback_switch(elem, chn_right, !sw);
or in alsa-kernel ac97_codec.c where is manages the stereo mute controls.

I will investigate further when I get a chance.
======================================================================

----------------------------------------------------------------------
jcdutton - 06-29-05 21:26
----------------------------------------------------------------------
The problem is with the current CVS of alsa-driver, alsa-lib and alsa-utils

----------------------------------------------------------------------
jcdutton - 06-29-05 22:32
----------------------------------------------------------------------
I just checked in fix to alsa-lib CVS. It was a typo.

Issue History
Date Modified Username Field Change
======================================================================

06-29-05 11:11 jcdutton       New Issue                                    
06-29-05 20:07 tiwai          Note Added: 0005309                          
06-29-05 21:26 jcdutton       Note Added: 0005315                          
06-29-05 22:32 jcdutton       Note Added: 0005317                          

======================================================================

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click