- fixed some warnings and updated vectors.h
This commit is contained in:
parent
1241b277f3
commit
57add9a45c
3 changed files with 29 additions and 11 deletions
|
|
@ -126,7 +126,7 @@ bool InterplayDecoder::FillSamples(void *buff, int len)
|
|||
audio.Packets.pop_front();
|
||||
plock.unlock();
|
||||
|
||||
int nSamples = pkt.nSize;
|
||||
int nSamples = (int)pkt.nSize;
|
||||
const uint8_t *samplePtr = pkt.pData.get();
|
||||
if (audio.bCompressed)
|
||||
{
|
||||
|
|
@ -153,7 +153,7 @@ bool InterplayDecoder::FillSamples(void *buff, int len)
|
|||
audio.samples[audio.nWrite++] = predictor[ch];
|
||||
|
||||
// toggle channel
|
||||
ch ^= stereo;
|
||||
ch ^= stereo ? 1 : 0;
|
||||
}
|
||||
}
|
||||
else if (audio.nBitDepth == 8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue