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/PipeOutputPlugin.cxx | |
parent | 07b89b2bad7543fa07347ffdccc71d4899dd2b02 (diff) |
AudioOutput: add constructor and destructor
Diffstat (limited to 'src/output/plugins/PipeOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/PipeOutputPlugin.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/output/plugins/PipeOutputPlugin.cxx b/src/output/plugins/PipeOutputPlugin.cxx index b872614ea..7bdc61051 100644 --- a/src/output/plugins/PipeOutputPlugin.cxx +++ b/src/output/plugins/PipeOutputPlugin.cxx @@ -39,10 +39,6 @@ struct PipeOutput { error); } - void Deinitialize() { - ao_base_finish(&base); - } - bool Configure(const config_param ¶m, Error &error); }; @@ -72,7 +68,6 @@ pipe_output_init(const config_param ¶m, Error &error) } if (!pd->Configure(param, error)) { - pd->Deinitialize(); delete pd; return nullptr; } @@ -85,7 +80,6 @@ pipe_output_finish(AudioOutput *ao) { PipeOutput *pd = (PipeOutput *)ao; - pd->Deinitialize(); delete pd; } |