diff options
author | wm4 <wm4@mplayer2.org> | 2012-01-17 07:51:44 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-01-18 04:21:46 +0100 |
commit | d4cf8cd7a2a991d05b8bc7229f059730ff78c434 (patch) | |
tree | 37389b1c5becd6e732eee6178f7d8a66a5d07e05 | |
parent | 06b1de26875dded600ac5771d4c0bd87f1d6e802 (diff) | |
download | mpv-d4cf8cd7a2a991d05b8bc7229f059730ff78c434.tar.bz2 mpv-d4cf8cd7a2a991d05b8bc7229f059730ff78c434.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
-rw-r--r-- | libao2/ao_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_alsa.c b/libao2/ao_alsa.c index 1806a36d56..c8ac966a04 100644 --- a/libao2/ao_alsa.c +++ b/libao2/ao_alsa.c @@ -116,7 +116,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; |