Added dummy parameter to mark the plugin state dirty for the host. Readme change.

This commit is contained in:
xenakios
2018-02-07 16:00:49 +02:00
parent e7d34a026d
commit 0a9a087cb2
3 changed files with 15 additions and 5 deletions

View File

@ -56,6 +56,7 @@ const int cpi_num_outchans = 27;
const int cpi_pause_enabled = 28;
const int cpi_max_capture_len = 29;
const int cpi_passthrough = 30;
const int cpi_markdirty = 31;
class MyPropertiesFile
{
@ -130,6 +131,11 @@ public:
{
return dynamic_cast<AudioParameterInt*>(getParameters()[index]);
}
AudioParameterBool* getBoolParameter(int index)
{
return dynamic_cast<AudioParameterBool*>(getParameters()[index]);
}
void setDirty();
void setRecordingEnabled(bool b);
bool isRecordingEnabled() { return m_is_recording; }
double getRecordingPositionPercent();