mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-28 05:48:44 +02:00
Fix warnings
This commit is contained in:
parent
97bfd95f28
commit
aab3c343d0
15 changed files with 31 additions and 10 deletions
|
@ -225,7 +225,7 @@ SampleFormat OggDecoder::setHeader(msg::CodecHeader* chunk)
|
|||
/// local state for most of the decode so multiple block decodes can proceed
|
||||
/// in parallel. We could init multiple vorbis_block structures for vd here
|
||||
|
||||
sampleFormat_.setFormat(vi.rate, 16, vi.channels);
|
||||
sampleFormat_.setFormat(vi.rate, 16, static_cast<uint16_t>(vi.channels));
|
||||
|
||||
/* Throw the comments plus a few lines about the bitstream we're decoding */
|
||||
char** ptr = vc.user_comments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue