mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-06 04:41:44 +02:00
Fix Windows warnings
This commit is contained in:
parent
ade0ee7be3
commit
e5047f1aff
12 changed files with 167 additions and 165 deletions
|
@ -104,7 +104,7 @@ bool OggDecoder::decode(msg::PcmChunk* chunk)
|
|||
(-1.<=range<=1.) to whatever PCM format and write it out */
|
||||
while ((samples = vorbis_synthesis_pcmout(&vd, &pcm)) > 0)
|
||||
{
|
||||
size_t bytes = sampleFormat_.sampleSize() * vi.channels * samples;
|
||||
uint32_t bytes = sampleFormat_.sampleSize() * vi.channels * samples;
|
||||
chunk->payload = (char*)realloc(chunk->payload, chunk->payloadSize + bytes);
|
||||
for (int channel = 0; channel < vi.channels; ++channel)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue