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/FifoOutputPlugin.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/output/plugins/FifoOutputPlugin.cxx') 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; } -- cgit v1.2.3