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/EncoderPlugin.hxx | |
parent | 67f591a9ce60651da41afc499bd9a22e25314e35 (diff) | |
download | mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.gz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.tar.xz mpd-d1e7b4e38136f9342aad76c685a13adf0e69f869.zip |
audio_format: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/EncoderPlugin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EncoderPlugin.hxx b/src/EncoderPlugin.hxx index 868a9998c..70bdabe1a 100644 --- a/src/EncoderPlugin.hxx +++ b/src/EncoderPlugin.hxx @@ -27,7 +27,7 @@ #include <stddef.h> struct EncoderPlugin; -struct audio_format; +struct AudioFormat; struct config_param; struct Tag; @@ -55,7 +55,7 @@ struct EncoderPlugin { void (*finish)(Encoder *encoder); bool (*open)(Encoder *encoder, - struct audio_format *audio_format, + AudioFormat &audio_format, GError **error); void (*close)(Encoder *encoder); @@ -122,7 +122,7 @@ encoder_finish(Encoder *encoder) * @return true on success */ static inline bool -encoder_open(Encoder *encoder, struct audio_format *audio_format, +encoder_open(Encoder *encoder, AudioFormat &audio_format, GError **error) { assert(!encoder->open); |