From a4b7fcc183aa18eb35b4b6d25609fd6635f5c8fc Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 27 May 2020 21:11:46 +0200 Subject: audio: stop applying volume twice for some AOs Regression since the recent refactor. How did nobody notice? This happened because the push code now calls the function for the pull code. Both the former and latter apply the volume, so oops. --- audio/out/buffer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/audio/out/buffer.c b/audio/out/buffer.c index 0096d2f1f4..720cfaa58e 100644 --- a/audio/out/buffer.c +++ b/audio/out/buffer.c @@ -550,7 +550,6 @@ static void ao_play_data(struct ao *ao) samples = samples / ao->period_size * ao->period_size; } MP_STATS(ao, "start ao fill"); - ao_post_process_data(ao, planes, samples); int r = 0; if (samples) r = ao->driver->play(ao, planes, samples, flags); -- cgit v1.2.3