aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output_control.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/output_control.h b/src/output_control.h
index 7f4f4a53c..2b88d4103 100644
--- a/src/output_control.h
+++ b/src/output_control.h
@@ -70,6 +70,11 @@ void audio_output_pause(struct audio_output *ao);
void
audio_output_drain_async(struct audio_output *ao);
+/**
+ * Clear the "allow_play" flag and send the "CANCEL" command
+ * asynchronously. To finish the operation, the caller has to set the
+ * "allow_play" flag and signal the thread.
+ */
void audio_output_cancel(struct audio_output *ao);
void audio_output_close(struct audio_output *ao);