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/FifoOutputPlugin.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/FifoOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/FifoOutputPlugin.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx index 2f839af22..b4e649130 100644 --- a/src/output/plugins/FifoOutputPlugin.cxx +++ b/src/output/plugins/FifoOutputPlugin.cxx @@ -55,10 +55,6 @@ struct FifoOutput { error); } - void Deinitialize() { - ao_base_finish(&base); - } - bool Create(Error &error); bool Check(Error &error); void Delete(); @@ -195,7 +191,6 @@ fifo_output_init(const config_param ¶m, Error &error) } if (!fifo_open(fd, error)) { - fd->Deinitialize(); delete fd; return nullptr; } @@ -209,7 +204,6 @@ fifo_output_finish(AudioOutput *ao) FifoOutput *fd = (FifoOutput *)ao; fd->Close(); - fd->Deinitialize(); delete fd; } |