aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/plugins/FifoOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-28 11:34:09 +0100
committerMax Kellermann <max@duempel.org>2014-01-28 11:34:09 +0100
commit815d72065c1f2c690228e66b74b8a303cfe33fca (patch)
tree0c6698d1c3d3066036020a367531116cc8c334ce /src/output/plugins/FifoOutputPlugin.cxx
parente0dc721324f34d8b3803dce64545871aec42e537 (diff)
downloadmpd-815d72065c1f2c690228e66b74b8a303cfe33fca.tar.gz
mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.tar.xz
mpd-815d72065c1f2c690228e66b74b8a303cfe33fca.zip
output: rename struct audio_output to AudioOutput
Diffstat (limited to 'src/output/plugins/FifoOutputPlugin.cxx')
-rw-r--r--src/output/plugins/FifoOutputPlugin.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx
index 27b8e4192..2f839af22 100644
--- a/src/output/plugins/FifoOutputPlugin.cxx
+++ b/src/output/plugins/FifoOutputPlugin.cxx
@@ -36,7 +36,7 @@
#define FIFO_BUFFER_SIZE 65536 /* pipe capacity on Linux >= 2.6.11 */
struct FifoOutput {
- struct audio_output base;
+ AudioOutput base;
AllocatedPath path;
std::string path_utf8;
@@ -172,7 +172,7 @@ fifo_open(FifoOutput *fd, Error &error)
return fd->Open(error);
}
-static struct audio_output *
+static AudioOutput *
fifo_output_init(const config_param &param, Error &error)
{
FifoOutput *fd = new FifoOutput();
@@ -204,7 +204,7 @@ fifo_output_init(const config_param &param, Error &error)
}
static void
-fifo_output_finish(struct audio_output *ao)
+fifo_output_finish(AudioOutput *ao)
{
FifoOutput *fd = (FifoOutput *)ao;
@@ -214,7 +214,7 @@ fifo_output_finish(struct audio_output *ao)
}
static bool
-fifo_output_open(struct audio_output *ao, AudioFormat &audio_format,
+fifo_output_open(AudioOutput *ao, AudioFormat &audio_format,
gcc_unused Error &error)
{
FifoOutput *fd = (FifoOutput *)ao;
@@ -225,7 +225,7 @@ fifo_output_open(struct audio_output *ao, AudioFormat &audio_format,
}
static void
-fifo_output_close(struct audio_output *ao)
+fifo_output_close(AudioOutput *ao)
{
FifoOutput *fd = (FifoOutput *)ao;
@@ -233,7 +233,7 @@ fifo_output_close(struct audio_output *ao)
}
static void
-fifo_output_cancel(struct audio_output *ao)
+fifo_output_cancel(AudioOutput *ao)
{
FifoOutput *fd = (FifoOutput *)ao;
char buf[FIFO_BUFFER_SIZE];
@@ -252,7 +252,7 @@ fifo_output_cancel(struct audio_output *ao)
}
static unsigned
-fifo_output_delay(struct audio_output *ao)
+fifo_output_delay(AudioOutput *ao)
{
FifoOutput *fd = (FifoOutput *)ao;
@@ -262,7 +262,7 @@ fifo_output_delay(struct audio_output *ao)
}
static size_t
-fifo_output_play(struct audio_output *ao, const void *chunk, size_t size,
+fifo_output_play(AudioOutput *ao, const void *chunk, size_t size,
Error &error)
{
FifoOutput *fd = (FifoOutput *)ao;