mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-11 07:11:41 +02:00
Add sharing mode for Oboe, log device settings
This commit is contained in:
parent
ad2351a42b
commit
424487a48e
14 changed files with 101 additions and 49 deletions
|
@ -103,7 +103,7 @@ SampleFormat OpusDecoder::setHeader(msg::CodecHeader* chunk)
|
|||
memcpy(&channels, chunk->payload + 10, sizeof(channels));
|
||||
|
||||
sample_format_.setFormat(SWAP_32(rate), SWAP_16(bits), SWAP_16(channels));
|
||||
LOG(DEBUG, LOG_TAG) << "Opus sampleformat: " << sample_format_.getFormat() << "\n";
|
||||
LOG(DEBUG, LOG_TAG) << "Opus sampleformat: " << sample_format_.toString() << "\n";
|
||||
|
||||
// create the decoder
|
||||
int error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue