From 8a92376713c6e6b22d29224fe29579e25d63c110 Mon Sep 17 00:00:00 2001 From: xenakios Date: Sun, 17 Dec 2017 19:54:12 +0200 Subject: [PATCH] Hardcode 8 channels for stretchsource xfade buffer --- Source/PS_Source/StretchSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/PS_Source/StretchSource.cpp b/Source/PS_Source/StretchSource.cpp index 348aafb..9cc14bc 100644 --- a/Source/PS_Source/StretchSource.cpp +++ b/Source/PS_Source/StretchSource.cpp @@ -14,7 +14,7 @@ StretchAudioSource::StretchAudioSource(int initialnumoutchans, AudioFormatManage m_inputfile = std::make_unique(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(); }