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/OpenALOutputPlugin.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/output/plugins/OpenALOutputPlugin.cxx') diff --git a/src/output/plugins/OpenALOutputPlugin.cxx b/src/output/plugins/OpenALOutputPlugin.cxx index 13b4ec209..d40d0737e 100644 --- a/src/output/plugins/OpenALOutputPlugin.cxx +++ b/src/output/plugins/OpenALOutputPlugin.cxx @@ -52,10 +52,6 @@ struct OpenALOutput { return ao_base_init(&base, &openal_output_plugin, param, error_r); } - - void Deinitialize() { - ao_base_finish(&base); - } }; static constexpr Domain openal_output_domain("openal_output"); @@ -157,7 +153,6 @@ openal_finish(AudioOutput *ao) { OpenALOutput *od = (OpenALOutput *)ao; - od->Deinitialize(); delete od; } -- cgit v1.2.3