From c593c1d260c9bfba4619ff98a9aba2d9452da7fa Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Wed, 29 Jun 2005 20:31:33 +0000 Subject: [PATCH] Fix bug when a sound card had a stereo mute element and would fail to unmute the right channel. Fixes a typo. Fixes bug#[ALSA - lib 0001219] --- src/mixer/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixer/simple.c b/src/mixer/simple.c index 59507eda..29c273e8 100644 --- a/src/mixer/simple.c +++ b/src/mixer/simple.c @@ -488,7 +488,7 @@ int snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t *elem, long value, int int snd_mixer_selem_set_playback_switch(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t channel, int value) { CHECK_BASIC(elem); - CHECK_DIR_CHN(elem, SM_CAP_PSWITCH, SM_CAP_PSWITCH, channel); + CHECK_DIR_CHN(elem, SM_CAP_PSWITCH, SM_CAP_PSWITCH_JOIN, channel); return sm_selem_ops(elem)->set_switch(elem, SM_PLAY, channel, value); } -- 2.47.1