comparison data/fileio/CodedAudioFileReader.cpp @ 1323:4dbb7a7c9c28 3.0-integration

Fix compiler warnings
author Chris Cannam
date Fri, 09 Dec 2016 19:04:33 +0000
parents 983667969a82
children 54af1e21705c
comparison
equal deleted inserted replaced
1322:e939a365e4d2 1323:4dbb7a7c9c28
486 486
487 sv_frame_t out = m_resampler->resampleInterleaved 487 sv_frame_t out = m_resampler->resampleInterleaved
488 (m_resampleBuffer, 488 (m_resampleBuffer,
489 m_resampleBufferFrames, 489 m_resampleBufferFrames,
490 buffer, 490 buffer,
491 sz, 491 int(sz),
492 ratio, 492 ratio,
493 false); 493 false);
494 494
495 pushBufferNonResampling(m_resampleBuffer, out); 495 pushBufferNonResampling(m_resampleBuffer, out);
496 } 496 }
511 511
512 sv_frame_t out = m_resampler->resampleInterleaved 512 sv_frame_t out = m_resampler->resampleInterleaved
513 (m_resampleBuffer, 513 (m_resampleBuffer,
514 m_resampleBufferFrames, 514 m_resampleBufferFrames,
515 padding, 515 padding,
516 padFrames, 516 int(padFrames),
517 ratio, 517 ratio,
518 true); 518 true);
519 519
520 if (m_frameCount + out > sv_frame_t(double(m_fileFrameCount) * ratio)) { 520 if (m_frameCount + out > sv_frame_t(double(m_fileFrameCount) * ratio)) {
521 out = sv_frame_t(double(m_fileFrameCount) * ratio) - m_frameCount; 521 out = sv_frame_t(double(m_fileFrameCount) * ratio) - m_frameCount;