output: move functions into the AudioOutput struct

This commit is contained in:
Max Kellermann
2014-01-28 11:39:12 +01:00
parent cb7366f472
commit 4657a3bd0f
25 changed files with 290 additions and 338 deletions

View File

@@ -84,7 +84,7 @@ static AudioOutput *
osx_output_init(const config_param &param, Error &error)
{
OSXOutput *oo = new OSXOutput();
if (!ao_base_init(&oo->base, param, error)) {
if (!oo->base.Configure(param, error)) {
delete oo;
return NULL;
}