diff options
author | Max Kellermann <max@duempel.org> | 2009-11-09 22:16:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-09 22:16:26 +0100 |
commit | 3359f8785ef9b595b3ad943fdd2227f98ce56990 (patch) | |
tree | 248b51245d424b4700fffffb2eb8efd89f1ed6a0 /src/output_control.h | |
parent | 96b974bc452e6b33ada281c5ccb4df7b9492e1da (diff) | |
download | mpd-3359f8785ef9b595b3ad943fdd2227f98ce56990.tar.gz mpd-3359f8785ef9b595b3ad943fdd2227f98ce56990.tar.xz mpd-3359f8785ef9b595b3ad943fdd2227f98ce56990.zip |
output_thread: added command DRAIN
This command manually drains the hardware buffer. This is useful when
the player thread want to make sure that everything has been played.
Diffstat (limited to 'src/output_control.h')
-rw-r--r-- | src/output_control.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/output_control.h b/src/output_control.h index b2e48fa8d..692c11676 100644 --- a/src/output_control.h +++ b/src/output_control.h @@ -67,6 +67,9 @@ audio_output_play(struct audio_output *ao); void audio_output_pause(struct audio_output *ao); +void +audio_output_drain_async(struct audio_output *ao); + void audio_output_cancel(struct audio_output *ao); void audio_output_close(struct audio_output *ao); void audio_output_finish(struct audio_output *ao); |