Added sound play range parameters. Initial work on audio input capture.

This commit is contained in:
xenakios
2017-11-13 21:21:30 +02:00
parent d9e9107ed4
commit c32e64a570
5 changed files with 57 additions and 5 deletions

View File

@ -59,10 +59,15 @@ public:
{
return dynamic_cast<AudioParameterFloat*>(getParameters()[index]);
}
void setRecordingEnabled(bool b);
private:
std::unique_ptr<Control> m_control;
std::unique_ptr<AudioFormatManager> m_afm;
bool m_ready_to_play = false;
AudioBuffer<float> m_recbuffer;
double m_max_reclen = 10.0;
bool m_is_recording = true;
int m_rec_pos = 0;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PaulstretchpluginAudioProcessor)
};