diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/FLACCommon.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/decoder/FLACCommon.hxx b/src/decoder/FLACCommon.hxx index 501c58f62..e9b45976d 100644 --- a/src/decoder/FLACCommon.hxx +++ b/src/decoder/FLACCommon.hxx @@ -24,6 +24,8 @@ #ifndef MPD_FLAC_COMMON_HXX #define MPD_FLAC_COMMON_HXX +#include "FLACInput.hxx" + extern "C" { #include "decoder_api.h" #include "pcm_buffer.h" @@ -35,7 +37,7 @@ extern "C" { #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "flac" -struct flac_data { +struct flac_data : public FLACInput { struct pcm_buffer buffer; /** @@ -91,9 +93,6 @@ struct flac_data { void flac_metadata_common_cb(const FLAC__StreamMetadata * block, struct flac_data *data); -void flac_error_common_cb(FLAC__StreamDecoderErrorStatus status, - struct flac_data *data); - FLAC__StreamDecoderWriteStatus flac_common_write(struct flac_data *data, const FLAC__Frame * frame, const FLAC__int32 *const buf[], |