summaryrefslogtreecommitdiff
path: root/muse2/muse/mpevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/mpevent.cpp')
-rw-r--r--muse2/muse/mpevent.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/muse2/muse/mpevent.cpp b/muse2/muse/mpevent.cpp
index 67ba968c..f72af528 100644
--- a/muse2/muse/mpevent.cpp
+++ b/muse2/muse/mpevent.cpp
@@ -29,6 +29,8 @@
#include "midiport.h"
#include "muse/midi.h"
+namespace MusECore {
+
//---------------------------------------------------------
// MEvent
//---------------------------------------------------------
@@ -88,7 +90,7 @@ void MEvent::dump() const
{
printf("time:%d port:%d chan:%d ", _time, _port, _channel+1);
if (_type == 0x90) { // NoteOn
- QString s = MusEUtil::pitch2string(_a);
+ QString s = pitch2string(_a);
printf("NoteOn %s(0x%x) %d\n", s.toLatin1().constData(), _a, _b);
}
else if (_type == 0xf0) {
@@ -223,4 +225,4 @@ void MidiRecFifo::remove()
--size;
}
-
+} // namespace MusECore