diff options
author | Tim E. Real <termtech@rogers.com> | 2012-12-13 00:18:21 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-12-13 00:18:21 +0000 |
commit | 469316ca9c63006cda58b4b25bd5f6b1f7d67f4b (patch) | |
tree | da35720b36c94a81a3f72b5cb358d596e304788e /muse2/synti/fluidsynth/fluidsynti.cpp | |
parent | 079a13764229873cc395c808a0333674b790edbf (diff) |
Fixed some vst controls stuck.
Added vst master timebase (sequencers should work now). Not quite finished.
Fixed weird QString bug causing some patch names to appear with garbage characters.
Diffstat (limited to 'muse2/synti/fluidsynth/fluidsynti.cpp')
-rw-r--r-- | muse2/synti/fluidsynth/fluidsynti.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/synti/fluidsynth/fluidsynti.cpp b/muse2/synti/fluidsynth/fluidsynti.cpp index 3dd45105..d3561fb9 100644 --- a/muse2/synti/fluidsynth/fluidsynti.cpp +++ b/muse2/synti/fluidsynth/fluidsynti.cpp @@ -34,6 +34,7 @@ #include <QFileInfo> #include <QFileDialog> +#include <QString> //#include "common_defs.h" #include "fluidsynti.h" @@ -1220,7 +1221,7 @@ void FluidSynth::rewriteChannelSettings() //--------------------------------------------------------- // getPatchName //--------------------------------------------------------- -const char* FluidSynth::getPatchName(int i, int, bool /*drum*/) const +QString FluidSynth::getPatchName(int i, int, bool /*drum*/) const { if (channels[i].font_intid == FS_UNSPECIFIED_FONT || channels[i].font_intid == FS_UNSPECIFIED_ID) |