Use the input channel count parameter when initing capture. Readme change.

This commit is contained in:
xenakios 2018-02-13 15:37:16 +02:00
parent 92595b6929
commit 103a085304
2 changed files with 3 additions and 2 deletions

View File

@ -625,7 +625,8 @@ void PaulstretchpluginAudioProcessor::setRecordingEnabled(bool b)
{ {
m_using_memory_buffer = true; m_using_memory_buffer = true;
m_current_file = File(); m_current_file = File();
m_recbuffer.setSize(getMainBusNumInputChannels(), m_max_reclen*getSampleRateChecked()+4096,false,false,true); int numchans = *m_inchansparam;
m_recbuffer.setSize(numchans, m_max_reclen*getSampleRateChecked()+4096,false,false,true);
m_recbuffer.clear(); m_recbuffer.clear();
m_rec_pos = 0; m_rec_pos = 0;
m_thumb->reset(m_recbuffer.getNumChannels(), getSampleRateChecked(), lenbufframes); m_thumb->reset(m_recbuffer.getNumChannels(), getSampleRateChecked(), lenbufframes);

View File

@ -8,7 +8,7 @@ Released under GNU General Public License v.2 license.
History : History :
02-12-2018 1.0.1 02-13-2018 1.0.1
-Increased maximum number of input channels to 8 -Increased maximum number of input channels to 8
-GUI performance improvement/bug fix during capture mode -GUI performance improvement/bug fix during capture mode
02-09-2018 1.0.0 02-09-2018 1.0.0