mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-17 02:56:16 +02:00
logging
This commit is contained in:
parent
84cdd5b8ff
commit
e57971c6cb
7 changed files with 671 additions and 52 deletions
|
@ -118,10 +118,10 @@ int main(int argc, char* argv[])
|
|||
int fd = open(fifoName.c_str(), O_RDONLY | O_NONBLOCK);
|
||||
try
|
||||
{
|
||||
shared_ptr<msg::PcmChunk> chunk;//(new WireChunk());
|
||||
shared_ptr<msg::PcmChunk> chunk;
|
||||
while (!g_terminated)//cin.good())
|
||||
{
|
||||
chunk.reset(new msg::PcmChunk(sampleFormat, duration));//2*WIRE_CHUNK_SIZE));
|
||||
chunk.reset(new msg::PcmChunk(sampleFormat, duration));
|
||||
int toRead = chunk->payloadSize;
|
||||
int len = 0;
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue