summaryrefslogtreecommitdiff
path: root/muse2/muse/seqmsg.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-09-09 23:36:08 +0000
committerTim E. Real <termtech@rogers.com>2011-09-09 23:36:08 +0000
commita1ad56982605c5f48d52c046786412b0dfde8f38 (patch)
tree43a8c75531661cfc9677b9027853a2952ea1d23e /muse2/muse/seqmsg.cpp
parentefc7169b5f31ca13f970ae19e3d41c361acace41 (diff)
Removed Audio::msgShowInstrumentGui and msgShowInstrumentNativeGui.
Diffstat (limited to 'muse2/muse/seqmsg.cpp')
-rw-r--r--muse2/muse/seqmsg.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/muse2/muse/seqmsg.cpp b/muse2/muse/seqmsg.cpp
index 6c3fc5ab..3ef2464b 100644
--- a/muse2/muse/seqmsg.cpp
+++ b/muse2/muse/seqmsg.cpp
@@ -757,6 +757,7 @@ void Audio::msgPlay(bool val)
}
}
+/*
//---------------------------------------------------------
// msgShowInstrumentGui
//---------------------------------------------------------
@@ -764,11 +765,13 @@ void Audio::msgPlay(bool val)
void Audio::msgShowInstrumentGui(MidiInstrument* instr, bool val)
{
instr->showGui(val);
- AudioMsg msg;
- msg.id = MIDI_SHOW_INSTR_GUI;
- msg.p1 = instr;
- msg.a = val;
- sendMessage(&msg, false);
+ // No need for this - it called msgUpdatePollFd which has nothing
+ // to do with showing a gui.
+ //AudioMsg msg;
+ //msg.id = MIDI_SHOW_INSTR_GUI;
+ //msg.p1 = instr;
+ //msg.a = val;
+ //sendMessage(&msg, false);
}
//---------------------------------------------------------
@@ -778,12 +781,13 @@ void Audio::msgShowInstrumentGui(MidiInstrument* instr, bool val)
void Audio::msgShowInstrumentNativeGui(MidiInstrument* instr, bool val)
{
instr->showNativeGui(val);
- AudioMsg msg;
- msg.id = MIDI_SHOW_INSTR_NATIVE_GUI;
- msg.p1 = instr;
- msg.a = val;
- sendMessage(&msg, false);
+ //AudioMsg msg;
+ //msg.id = MIDI_SHOW_INSTR_NATIVE_GUI;
+ //msg.p1 = instr;
+ //msg.a = val;
+ //sendMessage(&msg, false);
}
+*/
//---------------------------------------------------------
// msgAddTrack