Browse Source

Go back to prefer fluidsynth for sf2

tags/1.9.4
falkTX 11 years ago
parent
commit
6ab59d4627
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      source/backend/engine/CarlaEngine.cpp

+ 3
- 4
source/backend/engine/CarlaEngine.cpp View File

@@ -466,10 +466,9 @@ CarlaPlugin* CarlaPlugin::newGIG(const Initializer& init, const bool use16Outs)
CarlaPlugin* CarlaPlugin::newSF2(const Initializer& init, const bool use16Outs)
{
carla_debug("CarlaPlugin::newSF2({%p, \"%s\", \"%s\", \"%s\"}, %s)", init.engine, init.filename, init.name, init.label, bool2str(use16Outs));
// #if defined(WANT_FLUIDSYNTH)
// return newFluidSynth(init, use16Outs);
// #el
#if defined(WANT_LINUXSAMPLER)
#if defined(WANT_FLUIDSYNTH)
return newFluidSynth(init, use16Outs);
#elif defined(WANT_LINUXSAMPLER)
return newLinuxSampler(init, "SF2", use16Outs);
#else
init.engine->setLastError("SF2 support not available");


Loading…
Cancel
Save