aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/FifoOutputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/FifoOutputPlugin.cxx')
-rw-r--r--src/output/FifoOutputPlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/FifoOutputPlugin.cxx b/src/output/FifoOutputPlugin.cxx
index 1151d9f3a..a0d07c702 100644
--- a/src/output/FifoOutputPlugin.cxx
+++ b/src/output/FifoOutputPlugin.cxx
@@ -227,12 +227,12 @@ fifo_output_finish(struct audio_output *ao)
}
static bool
-fifo_output_open(struct audio_output *ao, struct audio_format *audio_format,
+fifo_output_open(struct audio_output *ao, AudioFormat &audio_format,
G_GNUC_UNUSED GError **error)
{
FifoOutput *fd = (FifoOutput *)ao;
- fd->timer = new Timer(*audio_format);
+ fd->timer = new Timer(audio_format);
return true;
}