mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removed some unnecessary consts from the parameters for SynthesiserSound::appliesToNote and appliesToChannel
This commit is contained in:
parent
d284f892b5
commit
08a49cb6d4
5 changed files with 10 additions and 10 deletions
|
|
@ -55,14 +55,14 @@ public:
|
|||
The Synthesiser will use this information when deciding which sounds to trigger
|
||||
for a given note.
|
||||
*/
|
||||
virtual bool appliesToNote (const int midiNoteNumber) = 0;
|
||||
virtual bool appliesToNote (int midiNoteNumber) = 0;
|
||||
|
||||
/** Returns true if the sound should be triggered by midi events on a given channel.
|
||||
|
||||
The Synthesiser will use this information when deciding which sounds to trigger
|
||||
for a given note.
|
||||
*/
|
||||
virtual bool appliesToChannel (const int midiChannel) = 0;
|
||||
virtual bool appliesToChannel (int midiChannel) = 0;
|
||||
|
||||
/** The class is reference-counted, so this is a handy pointer class for it. */
|
||||
typedef ReferenceCountedObjectPtr<SynthesiserSound> Ptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue