decoder/flac: rename struct flac_data to FlacDecoder

This commit is contained in:
Max Kellermann
2016-07-10 21:50:38 +02:00
parent c5fb56f90f
commit 737c5a9549
3 changed files with 21 additions and 21 deletions

View File

@@ -30,7 +30,7 @@
#include <FLAC/stream_decoder.h>
struct flac_data : public FlacInput {
struct FlacDecoder : public FlacInput {
PcmBuffer buffer;
/**
@@ -65,7 +65,7 @@ struct flac_data : public FlacInput {
Tag tag;
flac_data(Decoder &decoder, InputStream &input_stream);
FlacDecoder(Decoder &decoder, InputStream &input_stream);
/**
* Wrapper for decoder_initialized().
@@ -75,10 +75,10 @@ struct flac_data : public FlacInput {
};
void flac_metadata_common_cb(const FLAC__StreamMetadata * block,
struct flac_data *data);
FlacDecoder *data);
FLAC__StreamDecoderWriteStatus
flac_common_write(struct flac_data *data, const FLAC__Frame * frame,
flac_common_write(FlacDecoder *data, const FLAC__Frame * frame,
const FLAC__int32 *const buf[],
FLAC__uint64 nbytes);