aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/mvp_plugin.c1
-rw-r--r--src/output_api.c7
-rw-r--r--src/output_api.h2
3 files changed, 0 insertions, 10 deletions
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c
index 7eccb23a2..cb570c8ee 100644
--- a/src/output/mvp_plugin.c
+++ b/src/output/mvp_plugin.c
@@ -245,7 +245,6 @@ static void mvp_dropBufferedAudio(void *data)
ioctl(md->fd, MVP_SET_AUD_RESET, 0x11);
close(md->fd);
md->fd = -1;
- audio_output_closed(md->audio_output);
}
}
diff --git a/src/output_api.c b/src/output_api.c
index 7737fc9d7..204fa2dec 100644
--- a/src/output_api.c
+++ b/src/output_api.c
@@ -26,13 +26,6 @@ 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 = false;
-}
-
bool audio_output_is_pending(const struct audio_output *ao)
{
return ao->command != AO_COMMAND_NONE;
diff --git a/src/output_api.h b/src/output_api.h
index 207f72c2d..f1bd0e555 100644
--- a/src/output_api.h
+++ b/src/output_api.h
@@ -133,8 +133,6 @@ struct audio_output;
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.
*/