From d1e7b4e38136f9342aad76c685a13adf0e69f869 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Aug 2013 21:00:50 +0200 Subject: audio_format: convert to C++ --- src/EncoderPlugin.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/EncoderPlugin.hxx') 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 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); -- cgit v1.2.3