Browse Source

Fix build against latest juce changes

tags/2018-04-16
falkTX 7 years ago
parent
commit
7f21bd39f7
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      libs/juced/source/audio/midi/jucetice_MidiFilter.h
  2. +1
    -1
      ports/drumsynth/source/DrumSynthPlugin.cpp
  3. +2
    -2
      ports/drumsynth/source/DrumSynthVoice.h

+ 1
- 1
libs/juced/source/audio/midi/jucetice_MidiFilter.h View File

@@ -82,7 +82,7 @@ protected:
useVelocityFilter : 1,
usePitchWeelFilter : 1;

BitArray channels;
BigInteger channels;
int noteMin, noteMax;
int velocityMin, velocityMax;
int pitchMin, pitchMax;


+ 1
- 1
ports/drumsynth/source/DrumSynthPlugin.cpp View File

@@ -50,7 +50,7 @@ DrumSynthPlugin::DrumSynthPlugin()
setNumParameters (TOTAL_PARAMETERS);
// add a wave sound, which will get applied to some of the notes..
BitArray drumNotes;
BigInteger drumNotes;
for (int noteNumber = 0; noteNumber < TOTAL_DRUM_NOTES; noteNumber++)
{
drumNotes.setBit (START_DRUM_NOTES_OFFSET + noteNumber);


+ 2
- 2
ports/drumsynth/source/DrumSynthVoice.h View File

@@ -54,7 +54,7 @@ class DrumSynthSound : public SynthesiserSound
{
public:
DrumSynthSound (const BitArray& midiNotes_)
DrumSynthSound (const BigInteger& midiNotes_)
: midiNotes (midiNotes_)
{
}
@@ -72,7 +72,7 @@ public:
private:
// this will contain the notes that this sound is attached to.
BitArray midiNotes;
BigInteger midiNotes;
};


Loading…
Cancel
Save