mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
mixer: don't unmute audio when raising volume
This is rather strange behavior, away with it.
This commit is contained in:
parent
38b2c97fd6
commit
234d967bed
@ -155,8 +155,6 @@ static void addvolume(struct mixer *mixer, float d)
|
||||
float vol_l, vol_r;
|
||||
mixer_getvolume(mixer, &vol_l, &vol_r);
|
||||
mixer_setvolume(mixer, vol_l + d, vol_r + d);
|
||||
if (d > 0)
|
||||
mixer_setmute(mixer, false);
|
||||
}
|
||||
|
||||
void mixer_incvolume(mixer_t *mixer)
|
||||
|
Loading…
Reference in New Issue
Block a user