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/PipeOutputPlugin.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/PipeOutputPlugin.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/output/plugins/PipeOutputPlugin.cxx b/src/output/plugins/PipeOutputPlugin.cxx index 9aa36f1ed..b872614ea 100644 --- a/src/output/plugins/PipeOutputPlugin.cxx +++ b/src/output/plugins/PipeOutputPlugin.cxx @@ -29,7 +29,7 @@ #include <stdio.h> struct PipeOutput { - struct audio_output base; + AudioOutput base; std::string cmd; FILE *fh; @@ -61,7 +61,7 @@ PipeOutput::Configure(const config_param ¶m, Error &error) return true; } -static struct audio_output * +static AudioOutput * pipe_output_init(const config_param ¶m, Error &error) { PipeOutput *pd = new PipeOutput(); @@ -81,7 +81,7 @@ pipe_output_init(const config_param ¶m, Error &error) } static void -pipe_output_finish(struct audio_output *ao) +pipe_output_finish(AudioOutput *ao) { PipeOutput *pd = (PipeOutput *)ao; @@ -90,7 +90,7 @@ pipe_output_finish(struct audio_output *ao) } static bool -pipe_output_open(struct audio_output *ao, +pipe_output_open(AudioOutput *ao, gcc_unused AudioFormat &audio_format, Error &error) { @@ -107,7 +107,7 @@ pipe_output_open(struct audio_output *ao, } static void -pipe_output_close(struct audio_output *ao) +pipe_output_close(AudioOutput *ao) { PipeOutput *pd = (PipeOutput *)ao; @@ -115,7 +115,7 @@ pipe_output_close(struct audio_output *ao) } static size_t -pipe_output_play(struct audio_output *ao, const void *chunk, size_t size, +pipe_output_play(AudioOutput *ao, const void *chunk, size_t size, Error &error) { PipeOutput *pd = (PipeOutput *)ao; |