mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-18 08:57:42 +02:00
replaced MapMessage with JsonMessage
This commit is contained in:
parent
8a69a9c971
commit
efb592d495
31 changed files with 200 additions and 244 deletions
|
@ -76,7 +76,7 @@ bool PcmDecoder::decode(msg::PcmChunk* chunk)
|
|||
}
|
||||
|
||||
|
||||
SampleFormat PcmDecoder::setHeader(msg::Header* chunk)
|
||||
SampleFormat PcmDecoder::setHeader(msg::CodecHeader* chunk)
|
||||
{
|
||||
if (chunk->payloadSize < 44)
|
||||
throw SnapException("PCM header too small");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue