audio_format: convert to C++

This commit is contained in:
Max Kellermann
2013-08-03 21:00:50 +02:00
parent 67f591a9ce
commit d1e7b4e381
121 changed files with 1251 additions and 1275 deletions

View File

@@ -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);