1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02: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
parent 06b1de2687
commit d4cf8cd7a2

View File

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