mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
Overwrite sample format for airplay before ctor is called
This commit is contained in:
parent
862f08da9f
commit
a7808cfec3
3 changed files with 8 additions and 9 deletions
|
@ -59,9 +59,6 @@ AirplayStream::AirplayStream(PcmListener* pcmListener, boost::asio::io_context&
|
|||
|
||||
// XXX: Check if pipe exists, delete or throw error
|
||||
|
||||
sampleFormat_ = SampleFormat("44100:16:2");
|
||||
uri_.query["sampleformat"] = sampleFormat_.getFormat();
|
||||
|
||||
port_ = cpt::stoul(uri_.getQuery("port", "5000"));
|
||||
|
||||
string devicename = uri_.getQuery("devicename", "Snapcast");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue