From 485f439cfefd4fa8d35f406fd8694e649bd536c8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Jan 2012 07:51:44 +0100 Subject: ao_alsa: use "Master" mixer channel instead of "PCM" by default Do this, because the "Master" channel normally provides proper mute control. The old default can be forced with: --mixer-channel=PCM --- libao2/ao_alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libao2/ao_alsa.c') diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index 8ce80cdfbb..1581be4b80 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -109,7 +109,7 @@ static int control(int cmd, void *arg) snd_mixer_elem_t *elem; snd_mixer_selem_id_t *sid; - char *mix_name = "PCM"; + char *mix_name = "Master"; char *card = "default"; int mix_index = 0; -- cgit v1.2.3