AudioOutput: add constructor and destructor

This commit is contained in:
Max Kellermann
2014-01-28 12:24:48 +01:00
parent 07b89b2bad
commit c4403c523f
19 changed files with 27 additions and 101 deletions

View File

@@ -61,10 +61,6 @@ public:
error);
}
void Deinitialize() {
ao_base_finish(&base);
}
void Configure(const config_param &param);
bool Open(AudioFormat &audio_format, Error &error);
@@ -155,7 +151,6 @@ roar_finish(AudioOutput *ao)
{
RoarOutput *self = (RoarOutput *)ao;
self->Deinitialize();
delete self;
}