From 469316ca9c63006cda58b4b25bd5f6b1f7d67f4b Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Thu, 13 Dec 2012 00:18:21 +0000 Subject: 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. --- muse2/synti/fluidsynth/fluidsynti.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'muse2/synti/fluidsynth/fluidsynti.cpp') 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 #include +#include //#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) -- cgit v1.2.3