aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-01 07:53:42 +0200
committerMax Kellermann <max@duempel.org>2011-09-01 07:59:15 +0200
commit2be6184c8d274a5b99cc2c8c86a7aebe46187320 (patch)
tree6fcf33a16b29b842a96c0861f7c0a640ae55b196 /src/output_control.h
parent8b0b4ff0860ea93850c2f44e72e8a8a5de05e13b (diff)
downloadmpd-2be6184c8d274a5b99cc2c8c86a7aebe46187320.tar.gz
mpd-2be6184c8d274a5b99cc2c8c86a7aebe46187320.tar.xz
mpd-2be6184c8d274a5b99cc2c8c86a7aebe46187320.zip
output_all: move _lock_signal() to output_control.c
Better name, better documentation.
Diffstat (limited to '')
-rw-r--r--src/output_control.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/output_control.h b/src/output_control.h
index 2b88d4103..f0e317d6e 100644
--- a/src/output_control.h
+++ b/src/output_control.h
@@ -72,11 +72,17 @@ 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.
+ * asynchronously. To finish the operation, the caller has to call
+ * audio_output_allow_play().
*/
void audio_output_cancel(struct audio_output *ao);
+/**
+ * Set the "allow_play" and signal the thread.
+ */
+void
+audio_output_allow_play(struct audio_output *ao);
+
void audio_output_close(struct audio_output *ao);
/**