Restore original sampling ratio

This commit is contained in:
Jack Andersen 2016-07-07 09:18:57 -10:00
parent 7b329963d1
commit 5c91ba8da7
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void AudioVoiceMono::_resetSampleRate(double sampleRate)
soxr_quality_spec_t qSpec = soxr_quality_spec(SOXR_20_BITQ, m_dynamicRate ? SOXR_VR : 0); soxr_quality_spec_t qSpec = soxr_quality_spec(SOXR_20_BITQ, m_dynamicRate ? SOXR_VR : 0);
soxr_error_t err; soxr_error_t err;
m_src = soxr_create(1 << 1, 1, 1, m_src = soxr_create(sampleRate, rateOut, 1,
&err, &ioSpec, &qSpec, nullptr); &err, &ioSpec, &qSpec, nullptr);
if (err) if (err)