Fix compiler warnings with VC++

This commit is contained in:
Chris Cannam
2021-10-20 13:35:06 +01:00
parent 937eefd501
commit 7be734f75b
3 changed files with 15 additions and 13 deletions

View File

@@ -784,7 +784,7 @@ RubberBandStretcher::Impl::modifyChunk(size_t channel,
cerr << "phase reset: leaving phases unmodified" << endl;
}
const process_t rate = m_sampleRate;
const process_t rate = process_t(m_sampleRate);
const int count = m_fftSize / 2;
bool unchanged = cd.unchanged && (outputIncrement == m_increment);