Add WAVOut Voice Backend for offline Audio mixing

This commit is contained in:
Jack Andersen
2016-07-06 11:29:06 -10:00
parent 96fe19cfc0
commit c47780527d
7 changed files with 217 additions and 2 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_error_t err;
m_src = soxr_create(sampleRate, rateOut, 1,
m_src = soxr_create(1 << 1, 1, 1,
&err, &ioSpec, &qSpec, nullptr);
if (err)