summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/ao_null.c')
-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)
{