mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-23 22:16:16 +02:00
replaced MapMessage with JsonMessage
This commit is contained in:
parent
8a69a9c971
commit
efb592d495
31 changed files with 200 additions and 244 deletions
|
@ -29,7 +29,7 @@ using namespace std;
|
|||
FlacEncoder::FlacEncoder(const std::string& codecOptions) : Encoder(codecOptions), encoder_(NULL), pcmBufferSize_(0), encodedSamples_(0)
|
||||
{
|
||||
flacChunk_ = new msg::PcmChunk();
|
||||
headerChunk_.reset(new msg::Header("flac"));
|
||||
headerChunk_.reset(new msg::CodecHeader("flac"));
|
||||
pcmBuffer_ = (FLAC__int32*)malloc(pcmBufferSize_ * sizeof(FLAC__int32));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue