mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-17 19:16:14 +02:00
new messages
git-svn-id: svn://elaine/murooma/trunk@228 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
acae4edbe7
commit
c6ee0960fd
4 changed files with 29 additions and 63 deletions
|
@ -4,7 +4,7 @@
|
|||
#include "common/log.h"
|
||||
|
||||
|
||||
Chunk::Chunk(const SampleFormat& sampleFormat, size_t ms) : format(sampleFormat), idx(0)
|
||||
Chunk::Chunk(const SampleFormat& sampleFormat, size_t ms) : WireChunk(), format(sampleFormat), idx(0)
|
||||
{
|
||||
payloadSize = format.rate*format.frameSize*ms / 1000;
|
||||
payload = (char*)malloc(payloadSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue