mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Fixed some MSVC warnings.
This commit is contained in:
parent
0b5fd389c0
commit
94a81e0d91
1 changed files with 3 additions and 3 deletions
|
|
@ -60,17 +60,17 @@ void AudioFormatReaderSource::getNextAudioBlock (const AudioSourceChannelInfo& i
|
|||
if (newEnd > newStart)
|
||||
{
|
||||
reader->read (info.buffer, info.startSample,
|
||||
newEnd - newStart, newStart, true, true);
|
||||
(int) (newEnd - newStart), newStart, true, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
const int64 endSamps = reader->lengthInSamples - newStart;
|
||||
const int endSamps = (int) (reader->lengthInSamples - newStart);
|
||||
|
||||
reader->read (info.buffer, info.startSample,
|
||||
endSamps, newStart, true, true);
|
||||
|
||||
reader->read (info.buffer, info.startSample + endSamps,
|
||||
newEnd, 0, true, true);
|
||||
(int) newEnd, 0, true, true);
|
||||
}
|
||||
|
||||
nextPlayPos = newEnd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue