made SampleFormat not inherit from BaseMessage

This commit is contained in:
badaix 2016-01-24 13:52:46 +01:00
parent eed7f287fb
commit c4094a2175
18 changed files with 25 additions and 63 deletions

View file

@ -37,7 +37,7 @@ static void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecod
static msg::Header* flacHeader = NULL;
static msg::PcmChunk* flacChunk = NULL;
static msg::PcmChunk* pcmChunk = NULL;
static msg::SampleFormat sampleFormat;
static SampleFormat sampleFormat;
static FLAC__StreamDecoder *decoder = NULL;
@ -81,7 +81,7 @@ bool FlacDecoder::decode(msg::PcmChunk* chunk)
}
msg::SampleFormat FlacDecoder::setHeader(msg::Header* chunk)
SampleFormat FlacDecoder::setHeader(msg::Header* chunk)
{
flacHeader = chunk;
FLAC__StreamDecoderInitStatus init_status;