Mercurial > hg > svcore
diff data/midi/MIDIInput.cpp @ 565:3086876472dc
* rtmidi & activity updates
author | Chris Cannam |
---|---|
date | Tue, 24 Feb 2009 17:25:55 +0000 |
parents | ecce042cc374 |
children | e2281de2361c |
line wrap: on
line diff
--- a/data/midi/MIDIInput.cpp Tue Feb 24 11:39:45 2009 +0000 +++ b/data/midi/MIDIInput.cpp Tue Feb 24 17:25:55 2009 +0000 @@ -24,7 +24,7 @@ try { m_rtmidi = new RtMidiIn(name.toStdString()); m_rtmidi->setCallback(staticCallback, this); - m_rtmidi->openPort(); + m_rtmidi->openPort(0, tr("Input").toStdString()); } catch (RtError e) { e.printMessage(); delete m_rtmidi;