From c4403c523f3b5514be499ff20887ec340f2272e9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 28 Jan 2014 12:24:48 +0100 Subject: AudioOutput: add constructor and destructor --- src/output/plugins/PipeOutputPlugin.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/output/plugins/PipeOutputPlugin.cxx') 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; } -- cgit v1.2.3