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

@@ -23,7 +23,7 @@
#include "DecoderAPI.hxx"
#include "InputInit.hxx"
#include "input_stream.h"
#include "audio_format.h"
#include "AudioFormat.hxx"
#include "stdbin.h"
#include <glib.h>
@@ -52,14 +52,14 @@ struct decoder {
void
decoder_initialized(struct decoder *decoder,
const struct audio_format *audio_format,
const AudioFormat audio_format,
G_GNUC_UNUSED bool seekable,
G_GNUC_UNUSED float total_time)
{
struct audio_format_string af_string;
assert(!decoder->initialized);
assert(audio_format_valid(audio_format));
assert(audio_format.IsValid());
g_printerr("audio_format=%s\n",
audio_format_to_string(audio_format, &af_string));