summaryrefslogtreecommitdiffstats
path: root/libao2/ao_alsa.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-17 07:51:44 +0100
committerUoti Urpala <uau@mplayer2.org>2012-04-08 16:17:35 +0300
commit485f439cfefd4fa8d35f406fd8694e649bd536c8 (patch)
treec9c7e9bee2fa9002e86e458b08152874e6583444 /libao2/ao_alsa.c
parente2fc1f640fdf473fdf8f1de6fd1212731b8ffa13 (diff)
downloadmpv-485f439cfefd4fa8d35f406fd8694e649bd536c8.tar.bz2
mpv-485f439cfefd4fa8d35f406fd8694e649bd536c8.tar.xz
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
Diffstat (limited to 'libao2/ao_alsa.c')
-rw-r--r--libao2/ao_alsa.c2
1 files changed, 1 insertions, 1 deletions
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;