mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-28 16:36:17 +02:00
made SampleFormat not inherit from BaseMessage
This commit is contained in:
parent
eed7f287fb
commit
c4094a2175
18 changed files with 25 additions and 63 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue