diff options
author | Max Kellermann <max@duempel.org> | 2013-08-03 21:00:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-03 21:37:56 +0200 |
commit | d1e7b4e38136f9342aad76c685a13adf0e69f869 (patch) | |
tree | 49643b937ddfe735511b566a71398da5a945d7aa /src/output/NullOutputPlugin.cxx | |
parent | 67f591a9ce60651da41afc499bd9a22e25314e35 (diff) | |
download | mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.gz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.xz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.zip |
audio_format: convert to C++
Diffstat (limited to 'src/output/NullOutputPlugin.cxx')
-rw-r--r-- | src/output/NullOutputPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/NullOutputPlugin.cxx b/src/output/NullOutputPlugin.cxx index 07452bbdb..814a9d2e2 100644 --- a/src/output/NullOutputPlugin.cxx +++ b/src/output/NullOutputPlugin.cxx @@ -66,13 +66,13 @@ null_finish(struct audio_output *ao) } static bool -null_open(struct audio_output *ao, struct audio_format *audio_format, +null_open(struct audio_output *ao, AudioFormat &audio_format, gcc_unused GError **error) { NullOutput *nd = (NullOutput *)ao; if (nd->sync) - nd->timer = new Timer(*audio_format); + nd->timer = new Timer(audio_format); return true; } |