diff options
author | Max Kellermann <max@duempel.org> | 2009-02-10 21:50:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-10 21:50:51 +0100 |
commit | 61e30759812e6996eb02bacf58607ec53cb0f577 (patch) | |
tree | 47599b984c3f87a404daa70a2159477f08afae9b /src/output_init.c | |
parent | 744702f266e52defb896b220c7e4eda97cf64b2d (diff) | |
download | mpd-61e30759812e6996eb02bacf58607ec53cb0f577.tar.gz mpd-61e30759812e6996eb02bacf58607ec53cb0f577.tar.xz mpd-61e30759812e6996eb02bacf58607ec53cb0f577.zip |
output_api: no CamelCase in struct audio_output
Renamed audio_output struct members.
Diffstat (limited to '')
-rw-r--r-- | src/output_init.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/output_init.c b/src/output_init.c index 6d974bdb8..a3231f4d2 100644 --- a/src/output_init.c +++ b/src/output_init.c @@ -91,20 +91,21 @@ audio_output_init(struct audio_output *ao, const struct config_param *param) ao->open = false; ao->reopen_after = 0; - pcm_convert_init(&ao->convState); + pcm_convert_init(&ao->convert_state); if (format) { - if (0 != parseAudioConfig(&ao->reqAudioFormat, format)) { + if (0 != parseAudioConfig(&ao->config_audio_format, format)) { g_error("error parsing format at line %i\n", bp->line); } } else - audio_format_clear(&ao->reqAudioFormat); + audio_format_clear(&ao->config_audio_format); ao->thread = NULL; notify_init(&ao->notify); ao->command = AO_COMMAND_NONE; - ao->data = plugin->init(ao, format ? &ao->reqAudioFormat : NULL, param); + ao->data = plugin->init(ao, format ? &ao->config_audio_format : NULL, + param); if (ao->data == NULL) return 0; |