Hardcode 8 channels for stretchsource xfade buffer

This commit is contained in:
xenakios 2017-12-17 19:54:12 +02:00
parent 32e1300386
commit 8a92376713

View File

@ -14,7 +14,7 @@ StretchAudioSource::StretchAudioSource(int initialnumoutchans, AudioFormatManage
m_inputfile = std::make_unique<AInputS>(m_afm);
m_specproc_order = { 0,1,2,3,4,5,6,7 };
setNumOutChannels(initialnumoutchans);
m_xfadetask.buffer.setSize(initialnumoutchans, 65536);
m_xfadetask.buffer.setSize(8, 65536);
m_xfadetask.buffer.clear();
}