From e81423949aa0a3fcd74dcaf4526e1b7495a2f65c Mon Sep 17 00:00:00 2001 From: Wong Cho Ching Date: Thu, 30 Jan 2014 00:16:08 +0800 Subject: [PATCH] updated include file --- plugins/sfxr/sfxr.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/sfxr/sfxr.cpp b/plugins/sfxr/sfxr.cpp index 6a6c10380..a459768d3 100644 --- a/plugins/sfxr/sfxr.cpp +++ b/plugins/sfxr/sfxr.cpp @@ -48,7 +48,8 @@ float frnd(float range) #include "templates.h" #include "tooltip.h" #include "song.h" -#include "Midi.h" +#include "MidiEvent.h" +#include "MidiTime.h" #include "embed.cpp" @@ -1064,7 +1065,7 @@ void sfxrInstrumentView::previewSound() sfxrInstrument * s = castModel(); InstrumentTrack * it = s->m_instrumentTrack; it->silenceAllNotes(); - it->processInEvent( midiEvent( MidiNoteOn, 0, it->baseNoteModel()->value(), MidiMaxVelocity ), midiTime() ); + it->processInEvent( MidiEvent( MidiNoteOn, 0, it->baseNoteModel()->value(), MidiMaxVelocity ), MidiTime() ); }