diff options
author | Max Kellermann <max@duempel.org> | 2011-09-16 23:31:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-19 09:41:21 +0200 |
commit | 74617389c88ccf630b8cce4b54d9e2fa5afb2259 (patch) | |
tree | 3d05faad2c2b3b2e9e885f2c391a35fe8f06553a /src/output_control.c | |
parent | b4a8b8c0d4bf82fc56572c3f8e79108d22d78132 (diff) | |
download | mpd-74617389c88ccf630b8cce4b54d9e2fa5afb2259.tar.gz mpd-74617389c88ccf630b8cce4b54d9e2fa5afb2259.tar.xz mpd-74617389c88ccf630b8cce4b54d9e2fa5afb2259.zip |
output_plugin: the plugin allocates the audio_output object
Pass audio_output objects around instead of void pointers. This will
give some more control to the plugin, and prepares for non-blocking
audio outputs.
Diffstat (limited to 'src/output_control.c')
-rw-r--r-- | src/output_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output_control.c b/src/output_control.c index 7ddcb8b19..69553145a 100644 --- a/src/output_control.c +++ b/src/output_control.c @@ -335,5 +335,5 @@ void audio_output_finish(struct audio_output *ao) ao->thread = NULL; } - audio_output_destruct(ao); + audio_output_free(ao); } |