From b9304bc1342ccfa645ffb422fbaad1965e64178f Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Thu, 21 Jun 2018 04:43:55 +0300 Subject: Second attempt to fix Windows build --- src/midi_sequencer_impl.hpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/midi_sequencer_impl.hpp') diff --git a/src/midi_sequencer_impl.hpp b/src/midi_sequencer_impl.hpp index 1e4e643..1d627fe 100644 --- a/src/midi_sequencer_impl.hpp +++ b/src/midi_sequencer_impl.hpp @@ -252,29 +252,29 @@ BW_MidiSequencer::BW_MidiSequencer() : BW_MidiSequencer::~BW_MidiSequencer() {} -void BW_MidiSequencer::setInterface(const BW_MidiRtInterface *interface) +void BW_MidiSequencer::setInterface(const BW_MidiRtInterface *intrf) { // Interface must NOT be NULL - assert(interface); + assert(intrf); //Note ON hook is REQUIRED - assert(interface->rt_noteOn); + assert(intrf->rt_noteOn); //Note OFF hook is REQUIRED - assert(interface->rt_noteOff); + assert(intrf->rt_noteOff); //Note Aftertouch hook is REQUIRED - assert(interface->rt_noteAfterTouch); + assert(intrf->rt_noteAfterTouch); //Channel Aftertouch hook is REQUIRED - assert(interface->rt_channelAfterTouch); + assert(intrf->rt_channelAfterTouch); //Controller change hook is REQUIRED - assert(interface->rt_controllerChange); + assert(intrf->rt_controllerChange); //Patch change hook is REQUIRED - assert(interface->rt_patchChange); + assert(intrf->rt_patchChange); //Pitch bend hook is REQUIRED - assert(interface->rt_pitchBend); + assert(intrf->rt_pitchBend); //System Exclusive hook is REQUIRED - assert(interface->rt_systemExclusive); + assert(intrf->rt_systemExclusive); - m_interface = interface; + m_interface = intrf; } BW_MidiSequencer::FileFormat BW_MidiSequencer::getFormat() -- cgit v1.2.3