summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-27 21:29:43 +0200
committerwm4 <wm4@nowhere>2020-05-27 21:29:43 +0200
commit27e41c69aa4f18c226d0975ddb82799e2e5ea565 (patch)
treed726904942a1be75cceca4214912ae4ba5b374ca /audio/out
parenta4b7fcc183aa18eb35b4b6d25609fd6635f5c8fc (diff)
downloadmpv-27e41c69aa4f18c226d0975ddb82799e2e5ea565.tar.bz2
mpv-27e41c69aa4f18c226d0975ddb82799e2e5ea565.tar.xz
ao_null: remove unreferenced function
Forgot in the previous commit to this file.
Diffstat (limited to 'audio/out')
-rw-r--r--audio/out/ao_null.c8
1 files changed, 0 insertions, 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)
{