aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_api.c')
-rw-r--r--src/output_api.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output_api.c b/src/output_api.c
index e9ac1be06..eabc0bb80 100644
--- a/src/output_api.c
+++ b/src/output_api.c
@@ -22,3 +22,11 @@ const char *audio_output_get_name(const struct audio_output *ao)
{
return ao->name;
}
+
+void audio_output_closed(struct audio_output *ao)
+{
+ assert(ao->open);
+
+ ao->open = 0;
+}
+