diff options
author | Max Kellermann <max@duempel.org> | 2014-01-28 11:34:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-28 11:34:09 +0100 |
commit | 815d72065c1f2c690228e66b74b8a303cfe33fca (patch) | |
tree | 0c6698d1c3d3066036020a367531116cc8c334ce /src/output/OutputInit.cxx | |
parent | e0dc721324f34d8b3803dce64545871aec42e537 (diff) | |
download | mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.tar.gz mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.tar.xz mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.zip |
output: rename struct audio_output to AudioOutput
Diffstat (limited to 'src/output/OutputInit.cxx')
-rw-r--r-- | src/output/OutputInit.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/output/OutputInit.cxx b/src/output/OutputInit.cxx index 9783b36ed..f91e5b5e3 100644 --- a/src/output/OutputInit.cxx +++ b/src/output/OutputInit.cxx @@ -93,7 +93,7 @@ audio_output_mixer_type(const config_param ¶m) } static Mixer * -audio_output_load_mixer(struct audio_output *ao, +audio_output_load_mixer(AudioOutput *ao, const config_param ¶m, const struct mixer_plugin *plugin, Filter &filter_chain, @@ -128,7 +128,7 @@ audio_output_load_mixer(struct audio_output *ao, } bool -ao_base_init(struct audio_output *ao, +ao_base_init(AudioOutput *ao, const AudioOutputPlugin *plugin, const config_param ¶m, Error &error) { @@ -214,7 +214,7 @@ ao_base_init(struct audio_output *ao, } static bool -audio_output_setup(struct audio_output *ao, const config_param ¶m, +audio_output_setup(AudioOutput *ao, const config_param ¶m, Error &error) { @@ -279,7 +279,7 @@ audio_output_setup(struct audio_output *ao, const config_param ¶m, return true; } -struct audio_output * +AudioOutput * audio_output_new(const config_param ¶m, PlayerControl &pc, Error &error) @@ -304,7 +304,7 @@ audio_output_new(const config_param ¶m, } } else { LogWarning(output_domain, - "No 'audio_output' defined in config file"); + "No 'AudioOutput' defined in config file"); plugin = audio_output_detect(error); if (plugin == nullptr) @@ -315,7 +315,7 @@ audio_output_new(const config_param ¶m, plugin->name); } - struct audio_output *ao = ao_plugin_init(plugin, param, error); + AudioOutput *ao = ao_plugin_init(plugin, param, error); if (ao == nullptr) return nullptr; |