From 27e41c69aa4f18c226d0975ddb82799e2e5ea565 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 27 May 2020 21:29:43 +0200 Subject: ao_null: remove unreferenced function Forgot in the previous commit to this file. --- audio/out/ao_null.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/audio/out/ao_null.c b/audio/out/ao_null.c index 3c3ecc36a8..07a0d4748c 100644 --- a/audio/out/ao_null.c +++ b/audio/out/ao_null.c @@ -122,14 +122,6 @@ static void uninit(struct ao *ao) { } -static void wait_drain(struct ao *ao) -{ - struct priv *priv = ao->priv; - drain(ao); - if (!priv->paused) - mp_sleep_us(1000000.0 * priv->buffered / ao->samplerate / priv->speed); -} - // stop playing and empty buffers (for seeking/pause) static void reset(struct ao *ao) { -- cgit v1.2.3