mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge 7cefe51c0d into 60a19f5264
This commit is contained in:
commit
4c7a042e31
1 changed files with 7 additions and 0 deletions
|
|
@ -821,6 +821,12 @@ public:
|
||||||
*/
|
*/
|
||||||
double getSampleRate() const noexcept { return currentSampleRate; }
|
double getSampleRate() const noexcept { return currentSampleRate; }
|
||||||
|
|
||||||
|
/** Returns true if plugin in the current DAW is bypassed. */
|
||||||
|
bool getIsDawBypass() const noexcept { return isDawBypass; }
|
||||||
|
|
||||||
|
/** Changes the processor flag to bypassed. */
|
||||||
|
void setIsDawBypass(bool bIsDawBypass) noexcept { isDawBypass = bIsDawBypass; }
|
||||||
|
|
||||||
/** Returns the current typical block size that is being used.
|
/** Returns the current typical block size that is being used.
|
||||||
|
|
||||||
This can be called from your processBlock() method - it's not guaranteed
|
This can be called from your processBlock() method - it's not guaranteed
|
||||||
|
|
@ -1600,6 +1606,7 @@ private:
|
||||||
double currentSampleRate = 0;
|
double currentSampleRate = 0;
|
||||||
int blockSize = 0, latencySamples = 0;
|
int blockSize = 0, latencySamples = 0;
|
||||||
bool suspended = false;
|
bool suspended = false;
|
||||||
|
bool isDawBypass = false;
|
||||||
std::atomic<bool> nonRealtime { false };
|
std::atomic<bool> nonRealtime { false };
|
||||||
ProcessingPrecision processingPrecision = singlePrecision;
|
ProcessingPrecision processingPrecision = singlePrecision;
|
||||||
CriticalSection callbackLock, listenerLock, activeEditorLock;
|
CriticalSection callbackLock, listenerLock, activeEditorLock;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue