Add more parameters including input capture enabled. A slightly nasty timer hack had to be implemented for that but can't be helped since the Juce provided bool parameter doesn't do callbacks...Small tweaks and fixes.

This commit is contained in:
xenakios
2017-12-13 18:30:09 +02:00
parent 3dc95b6f1d
commit bd1eabf3bf
5 changed files with 66 additions and 19 deletions

View File

@ -40,8 +40,10 @@ const int cpi_tonalvsnoisebw = 21;
const int cpi_tonalvsnoisepreserve = 22;
const int cpi_filter_low = 23;
const int cpi_filter_high = 24;
const int cpi_onsetdetection = 25;
const int cpi_capture_enabled = 26;
class PaulstretchpluginAudioProcessor : public AudioProcessor
class PaulstretchpluginAudioProcessor : public AudioProcessor, public MultiTimer
{
public:
//==============================================================================
@ -93,6 +95,7 @@ public:
SharedResourcePointer<AudioFormatManager> m_afm;
StretchAudioSource* getStretchSource() { return m_stretch_source.get(); }
double getPreBufferingPercent();
void timerCallback(int id) override;
private: