aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/PipeOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-28 12:24:48 +0100
committerMax Kellermann <max@duempel.org>2014-01-28 12:37:58 +0100
commitc4403c523f3b5514be499ff20887ec340f2272e9 (patch)
treecee7034796c386517f54ab2b61e762939c458f6f /src/output/plugins/PipeOutputPlugin.cxx
parent07b89b2bad7543fa07347ffdccc71d4899dd2b02 (diff)
downloadmpd-c4403c523f3b5514be499ff20887ec340f2272e9.tar.gz
mpd-c4403c523f3b5514be499ff20887ec340f2272e9.tar.xz
mpd-c4403c523f3b5514be499ff20887ec340f2272e9.zip
AudioOutput: add constructor and destructor
Diffstat (limited to 'src/output/plugins/PipeOutputPlugin.cxx')
-rw-r--r--src/output/plugins/PipeOutputPlugin.cxx6
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 &param, Error &error);
};
@@ -72,7 +68,6 @@ pipe_output_init(const config_param &param, 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;
}