1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00

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
This commit is contained in:
wm4 2012-01-17 07:51:44 +01:00 committed by Uoti Urpala
parent e2fc1f640f
commit 485f439cfe

View File

@ -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;