aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-30 19:47:59 +0100
committerMax Kellermann <max@duempel.org>2009-01-30 19:47:59 +0100
commita2e0b71aadfb3057b2bda0086b02b199298fe05f (patch)
tree3261f279054048d17623427468a0dd447b53a734 /src/output_api.c
parenteeec32feaa83a6a83b7bec1e0c47079145ba90d8 (diff)
downloadmpd-a2e0b71aadfb3057b2bda0086b02b199298fe05f.tar.gz
mpd-a2e0b71aadfb3057b2bda0086b02b199298fe05f.tar.xz
mpd-a2e0b71aadfb3057b2bda0086b02b199298fe05f.zip
output_api: removed audio_output_closed()
The function is only used by the MVP output plugin, and this one call is wrong.
Diffstat (limited to 'src/output_api.c')
-rw-r--r--src/output_api.c7
1 files changed, 0 insertions, 7 deletions
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;