mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-31 23:29:21 +02:00
FLAC is default transport codec
This commit is contained in:
parent
e57971c6cb
commit
af7f230e97
2 changed files with 4 additions and 1 deletions
|
@ -153,7 +153,10 @@ void Player::worker()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
logO << "Failed to get chunk\n";
|
||||||
usleep(100*1000);
|
usleep(100*1000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ int main(int argc, char* argv[])
|
||||||
("version,v", "show version number")
|
("version,v", "show version number")
|
||||||
("port,p", po::value<size_t>(&port)->default_value(98765), "server port")
|
("port,p", po::value<size_t>(&port)->default_value(98765), "server port")
|
||||||
("sampleformat,s", po::value<string>(&sampleFormat)->default_value("44100:16:2"), "sample format")
|
("sampleformat,s", po::value<string>(&sampleFormat)->default_value("44100:16:2"), "sample format")
|
||||||
("codec,c", po::value<string>(&codec)->default_value("pcm"), "transport codec [ogg|pcm]")
|
("codec,c", po::value<string>(&codec)->default_value("flac"), "transport codec [flac|ogg|pcm]")
|
||||||
("fifo,f", po::value<string>(&fifoName)->default_value("/tmp/snapfifo"), "name of the input fifo file")
|
("fifo,f", po::value<string>(&fifoName)->default_value("/tmp/snapfifo"), "name of the input fifo file")
|
||||||
("daemon,d", po::bool_switch(&runAsDaemon)->default_value(false), "daemonize")
|
("daemon,d", po::bool_switch(&runAsDaemon)->default_value(false), "daemonize")
|
||||||
("buffer,b", po::value<int32_t>(&bufferMs)->default_value(1000), "buffer [ms]")
|
("buffer,b", po::value<int32_t>(&bufferMs)->default_value(1000), "buffer [ms]")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue