aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-16 01:38:10 +0100
committerMax Kellermann <max@duempel.org>2009-02-16 01:38:10 +0100
commit79b50b7d9c2ef84e0b74345a31a9b2f96d2690cd (patch)
tree65e6a728b46e085ebe24e2302640df350a082cd6 /src/output_control.c
parent67da4cfe3c4c2ffc1e7fc98a6ea164b860f788cb (diff)
downloadmpd-79b50b7d9c2ef84e0b74345a31a9b2f96d2690cd.tar.gz
mpd-79b50b7d9c2ef84e0b74345a31a9b2f96d2690cd.tar.xz
mpd-79b50b7d9c2ef84e0b74345a31a9b2f96d2690cd.zip
output_plugin: added inline wrapper functions
Similar to the decoder plugin API: added wrapper functions to increase code readability.
Diffstat (limited to 'src/output_control.c')
-rw-r--r--src/output_control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output_control.c b/src/output_control.c
index e8dcd5d9a..16908f1b4 100644
--- a/src/output_control.c
+++ b/src/output_control.c
@@ -140,8 +140,7 @@ void audio_output_finish(struct audio_output *ao)
g_thread_join(ao->thread);
}
- if (ao->plugin->finish)
- ao->plugin->finish(ao->data);
+ ao_plugin_finish(ao->plugin, ao->data);
notify_deinit(&ao->notify);
}