diff options
author | wm4 <wm4@nowhere> | 2016-07-09 18:31:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-09 18:31:18 +0200 |
commit | 995c47da9afacfcc30d8a17d2f2a2268fbf4fdb9 (patch) | |
tree | 0442a9134e89408c2d8a791fefc1559d04d2b76f /player/audio.c | |
parent | da9590d3681c8779ac50d7722f8b8ad09a47024a (diff) | |
download | mpv-995c47da9afacfcc30d8a17d2f2a2268fbf4fdb9.tar.bz2 mpv-995c47da9afacfcc30d8a17d2f2a2268fbf4fdb9.tar.xz |
audio: drop --softvol=no and --softvol=auto
Drop the code for switching the volume options and properties between
af_volume and AO volume controls. interface-changes.rst mentions the
changes in detail.
Do this because this was exceedingly complex and had other problems as
well. It was also very hard to test. It's just not worth the trouble.
Some leftovers like AOCONTROL_HAS_PER_APP_VOLUME will be removed at a
later point.
Fixes #3322.
Diffstat (limited to 'player/audio.c')
-rw-r--r-- | player/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c index 2ce1669366..b61e464090 100644 --- a/player/audio.c +++ b/player/audio.c @@ -132,7 +132,7 @@ static int recreate_audio_filters(struct MPContext *mpctx) if (afs->initialized < 1 && af_init(afs) < 0) goto fail; - mixer_reinit_audio(mpctx->mixer, mpctx->ao, afs); + mixer_reinit_audio(mpctx->mixer, afs); mp_notify(mpctx, MPV_EVENT_AUDIO_RECONFIG, NULL); |