From 5fcadeb4fb10dd6ecc02523ec1edb1c87da03232 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: May 16 2005 20:44:56 +0000 Subject: make sure 'Wave' playback channel isn't muted. Fixes sound on emu10k1. --- diff --git a/alsa-utils.spec b/alsa-utils.spec index 8a7818b..13bc0ce 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -1,7 +1,7 @@ Summary: Advanced Linux Sound Architecture (ALSA) utilities Name: alsa-utils Version: 1.0.9rc2 -Release: 1 +Release: 2 License: GPL Group: Applications/Multimedia URL: http://www.alsa-project.org/ @@ -57,6 +57,9 @@ install -m 755 salsa $RPM_BUILD_ROOT/etc/dev.d/sound/alsa.dev %changelog +* Mon May 16 2005 Bill Nottingham 1.0.9rc2-2 +- make sure 'Wave' playback channel isn't muted (#157850) + * Mon Apr 25 2005 Martin Stransky 1.0.9rc2-1 - New upstream version - add %find_lang macro (#155719) diff --git a/salsa.c b/salsa.c index 332e0fa..f632cd2 100644 --- a/salsa.c +++ b/salsa.c @@ -133,7 +133,8 @@ int frob_mixer(int index) } if (snd_mixer_selem_has_playback_channel(elem, c)) { if (!snd_mixer_selem_has_capture_channel(elem, c) || - !strcmp(snd_mixer_selem_id_get_name(sid),"CD")) { + !strcmp(snd_mixer_selem_id_get_name(sid),"CD") || + !strcmp(snd_mixer_selem_id_get_name(sid),"Wave")) { if (snd_mixer_selem_has_playback_switch(elem)) snd_mixer_selem_set_playback_switch(elem, c, 1); if (snd_mixer_selem_has_playback_volume(elem))