mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-25 22:17:06 +02:00
fixed off encoding
This commit is contained in:
parent
c44288afde
commit
176ed8abc0
3 changed files with 21 additions and 24 deletions
|
@ -80,8 +80,9 @@ int main(int argc, char* argv[])
|
|||
timeval tvChunk;
|
||||
gettimeofday(&tvChunk, NULL);
|
||||
long nextTick = chronos::getTickCount();
|
||||
|
||||
mkfifo(fifoName.c_str(), 0777);
|
||||
|
||||
umask(0);
|
||||
mkfifo(fifoName.c_str(), 0666);
|
||||
msg::SampleFormat format(sampleFormat);
|
||||
size_t duration = 50;
|
||||
//size_t chunkSize = duration*format.rate*format.frameSize / 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue