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/plugins/RecorderOutputPlugin.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 '')
-rw-r--r-- | src/output/plugins/RecorderOutputPlugin.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx index bcc1fb33b..632f2b718 100644 --- a/src/output/plugins/RecorderOutputPlugin.cxx +++ b/src/output/plugins/RecorderOutputPlugin.cxx @@ -35,7 +35,7 @@ #include <errno.h> struct RecorderOutput { - struct audio_output base; + AudioOutput base; /** * The configured encoder plugin. @@ -107,7 +107,7 @@ RecorderOutput::Configure(const config_param ¶m, Error &error) return true; } -static audio_output * +static AudioOutput * recorder_output_init(const config_param ¶m, Error &error) { RecorderOutput *recorder = new RecorderOutput(); @@ -127,7 +127,7 @@ recorder_output_init(const config_param ¶m, Error &error) } static void -recorder_output_finish(struct audio_output *ao) +recorder_output_finish(AudioOutput *ao) { RecorderOutput *recorder = (RecorderOutput *)ao; @@ -181,7 +181,7 @@ RecorderOutput::EncoderToFile(Error &error) } static bool -recorder_output_open(struct audio_output *ao, +recorder_output_open(AudioOutput *ao, AudioFormat &audio_format, Error &error) { @@ -216,7 +216,7 @@ recorder_output_open(struct audio_output *ao, } static void -recorder_output_close(struct audio_output *ao) +recorder_output_close(AudioOutput *ao) { RecorderOutput *recorder = (RecorderOutput *)ao; @@ -233,7 +233,7 @@ recorder_output_close(struct audio_output *ao) } static size_t -recorder_output_play(struct audio_output *ao, const void *chunk, size_t size, +recorder_output_play(AudioOutput *ao, const void *chunk, size_t size, Error &error) { RecorderOutput *recorder = (RecorderOutput *)ao; |