summaryrefslogtreecommitdiff
path: root/muse2/synti/fluidsynth
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-11-02 06:06:50 +0000
committerTim E. Real <termtech@rogers.com>2010-11-02 06:06:50 +0000
commitba7a03030045602ce55c47a20a63fd72cfe10f47 (patch)
tree42d2ac0eca3787233289a5ccc7de3f7e856c2bd1 /muse2/synti/fluidsynth
parentbf32fe9882d7dd1dd6fbb88f39a42371063b6cd6 (diff)
Testing: Disable some sendSysex calls crashing. Fluidsynth appears to work now.
Diffstat (limited to 'muse2/synti/fluidsynth')
-rw-r--r--muse2/synti/fluidsynth/fluidsynti.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/muse2/synti/fluidsynth/fluidsynti.cpp b/muse2/synti/fluidsynth/fluidsynti.cpp
index bf12b7f8..f14fc90b 100644
--- a/muse2/synti/fluidsynth/fluidsynti.cpp
+++ b/muse2/synti/fluidsynth/fluidsynti.cpp
@@ -684,7 +684,9 @@ void FluidSynth::sendChannelData()
*(chdptr+1) = i; //Channel nr
chdptr += chunk_size;
}
- sendSysex(chdata_length, chdata);
+ // FIXME By Tim. This is crashing, after the conversion to QT4 and cmake.
+ printf("MusE FIXME: FluidSynth::sendChannelData() sendSysex disabled.\n");
+/// sendSysex(chdata_length, chdata);
// Send drum channel info afterwards (later addition, not very neat, but works...)
int drumchdata_length = FS_MAX_NR_OF_CHANNELS + 1; //1 byte for the command, one byte for each channel
@@ -696,7 +698,8 @@ void FluidSynth::sendChannelData()
drumchdataptr++;
*drumchdataptr = channels[i].drumchannel;
}
- sendSysex(drumchdata_length, drumchdata);
+ // FIXME By Tim. This is crashing, after the conversion to QT4 and cmake.
+/// sendSysex(drumchdata_length, drumchdata);
}
//---------------------------------------------------------