aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_api.h')
-rw-r--r--src/output_api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/output_api.h b/src/output_api.h
index 928ba04f1..96acff775 100644
--- a/src/output_api.h
+++ b/src/output_api.h
@@ -27,6 +27,8 @@
#include "log.h"
#include "os_compat.h"
+#include <stdbool.h>
+
#define DISABLED_AUDIO_OUTPUT_PLUGIN(plugin) const struct audio_output_plugin plugin;
struct audio_output;
@@ -113,4 +115,9 @@ const char *audio_output_get_name(const struct audio_output *ao);
void audio_output_closed(struct audio_output *ao);
+/**
+ * Returns true if there is a command pending.
+ */
+bool audio_output_is_pending(const struct audio_output *ao);
+
#endif