summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-08-22 13:16:48 +0200
committerFlorian Jung <flo@windfisch.org>2013-08-22 13:16:48 +0200
commitbcf0ade97df27510314fa0348c27882131ed2c27 (patch)
treea71813ec8483d4a6f227f9a7083ec725d102a0df /muse2/muse
parent02cba3c0588040450531b7d41690e31f4412be78 (diff)
cleaned up misleading orphaned code in MidiSeq::processMsg
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/midiseq.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/muse2/muse/midiseq.cpp b/muse2/muse/midiseq.cpp
index a3537e25..a2cb5c35 100644
--- a/muse2/muse/midiseq.cpp
+++ b/muse2/muse/midiseq.cpp
@@ -81,11 +81,6 @@ void MidiSeq::processMsg(const ThreadMsg* m)
{
MusECore::AudioMsg* msg = (MusECore::AudioMsg*)m;
switch(msg->id) {
- // This does not appear to be used anymore. Was sent in Audio::process1, DELETETHIS 5 ??
- // now Audio::processMidi is called directly. p4.0.15 Tim.
- //case MusECore::MS_PROCESS:
- // audio->processMidi();
- // break;
case MusECore::SEQM_SEEK:
processSeek();
@@ -104,23 +99,6 @@ void MidiSeq::processMsg(const ThreadMsg* m)
break;
- // Moved into Song::processMsg p4.0.34 ...
- case MusECore::SEQM_ADD_TRACK:
- MusEGlobal::song->insertTrack2(msg->track, msg->ival);
- updatePollFd();
- break;
- case MusECore::SEQM_REMOVE_TRACK:
- MusEGlobal::song->cmdRemoveTrack(msg->track);
- updatePollFd();
- break;
- case MusECore::SEQM_ADD_PART:
- MusEGlobal::song->cmdAddPart((Part*)msg->p1);
- break;
- case MusECore::SEQM_REMOVE_PART:
- MusEGlobal::song->cmdRemovePart((Part*)msg->p1);
- break;
-
-
case MusECore::SEQM_SET_TRACK_OUT_CHAN:
{
MidiTrack* track = (MidiTrack*)(msg->p1);