mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MPE: Made MPESynthesiserVoice::noteOnTime public
This commit is contained in:
parent
4363e8cd0d
commit
070a459db0
1 changed files with 5 additions and 2 deletions
|
|
@ -156,6 +156,11 @@ public:
|
|||
*/
|
||||
double getSampleRate() const noexcept { return currentSampleRate; }
|
||||
|
||||
/** This will be set to an incrementing counter value in MPESynthesiser::startVoice()
|
||||
and can be used to determine the order in which voices started.
|
||||
*/
|
||||
uint32 noteOnTime = 0;
|
||||
|
||||
protected:
|
||||
//==============================================================================
|
||||
/** Resets the state of this voice after a sound has finished playing.
|
||||
|
|
@ -180,8 +185,6 @@ private:
|
|||
//==============================================================================
|
||||
friend class MPESynthesiser;
|
||||
|
||||
uint32 noteOnTime = 0;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MPESynthesiserVoice)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue