diff options
author | Max Kellermann <max@duempel.org> | 2014-01-28 12:24:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-28 12:37:58 +0100 |
commit | c4403c523f3b5514be499ff20887ec340f2272e9 (patch) | |
tree | cee7034796c386517f54ab2b61e762939c458f6f /src/output/plugins/ShoutOutputPlugin.cxx | |
parent | 07b89b2bad7543fa07347ffdccc71d4899dd2b02 (diff) | |
download | mpd-c4403c523f3b5514be499ff20887ec340f2272e9.tar.gz mpd-c4403c523f3b5514be499ff20887ec340f2272e9.tar.xz mpd-c4403c523f3b5514be499ff20887ec340f2272e9.zip |
AudioOutput: add constructor and destructor
Diffstat (limited to 'src/output/plugins/ShoutOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/ShoutOutputPlugin.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/output/plugins/ShoutOutputPlugin.cxx b/src/output/plugins/ShoutOutputPlugin.cxx index 8682226b9..1f60f72a1 100644 --- a/src/output/plugins/ShoutOutputPlugin.cxx +++ b/src/output/plugins/ShoutOutputPlugin.cxx @@ -72,10 +72,6 @@ struct ShoutOutput final { error); } - void Deinitialize() { - ao_base_finish(&base); - } - bool Configure(const config_param ¶m, Error &error); }; @@ -285,7 +281,6 @@ my_shout_init_driver(const config_param ¶m, Error &error) } if (!sd->Configure(param, error)) { - sd->Deinitialize(); delete sd; return nullptr; } @@ -369,7 +364,6 @@ my_shout_finish_driver(AudioOutput *ao) encoder_finish(sd->encoder); - sd->Deinitialize(); delete sd; shout_init_count--; |