Boolean stuff
This commit is contained in:
parent
3a36e35903
commit
acbbe693bd
@ -246,3 +246,8 @@ inline void toggleBool(bool& b)
|
|||||||
{
|
{
|
||||||
b = !b;
|
b = !b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline void toggleBool(AudioParameterBool* b)
|
||||||
|
{
|
||||||
|
*b = !(*b);
|
||||||
|
}
|
||||||
|
@ -615,7 +615,7 @@ void PaulstretchpluginAudioProcessor::setStateInformation (const void* data, int
|
|||||||
|
|
||||||
void PaulstretchpluginAudioProcessor::setDirty()
|
void PaulstretchpluginAudioProcessor::setDirty()
|
||||||
{
|
{
|
||||||
*getBoolParameter(cpi_markdirty) = !(*getBoolParameter(cpi_markdirty));
|
toggleBool(getBoolParameter(cpi_markdirty));
|
||||||
}
|
}
|
||||||
|
|
||||||
void PaulstretchpluginAudioProcessor::setRecordingEnabled(bool b)
|
void PaulstretchpluginAudioProcessor::setRecordingEnabled(bool b)
|
||||||
|
Loading…
Reference in New Issue
Block a user