diff options
author | Max Kellermann <max@duempel.org> | 2009-02-16 01:38:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-16 01:38:10 +0100 |
commit | 79b50b7d9c2ef84e0b74345a31a9b2f96d2690cd (patch) | |
tree | 65e6a728b46e085ebe24e2302640df350a082cd6 /src/output_control.c | |
parent | 67da4cfe3c4c2ffc1e7fc98a6ea164b860f788cb (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/output_control.c | 3 |
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); } |