From eecfb1e016d4c51c3dd80ec3872fd4c99f0f5b4a Mon Sep 17 00:00:00 2001 From: Element Green Date: Mon, 20 Feb 2006 11:48:06 +0000 Subject: [PATCH] Bug fix for build error when neither LASH nor LADCCA present. --- fluidsynth/ChangeLog | 5 +++++ fluidsynth/src/fluidsynth.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fluidsynth/ChangeLog b/fluidsynth/ChangeLog index e03a9686..b4934055 100644 --- a/fluidsynth/ChangeLog +++ b/fluidsynth/ChangeLog @@ -1,3 +1,8 @@ +2006-02-20 Josh Green + + * Fixed build error that occured when neither LASH or LADCCA are + present. + 2006-02-18 Josh Green * FluidSynth release 1.0.7 "Increasing Fluidity.." diff --git a/fluidsynth/src/fluidsynth.c b/fluidsynth/src/fluidsynth.c index 049e92d5..445ecd60 100644 --- a/fluidsynth/src/fluidsynth.c +++ b/fluidsynth/src/fluidsynth.c @@ -418,13 +418,15 @@ int main(int argc, char** argv) SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS); #endif +#ifdef LASH_ENABLED /* connect to the lash server */ if (connect_lash) { enabled_lash = fluid_lash_connect (lash_args); fluid_settings_setint (settings, "lash.enable", enabled_lash ? 1 : 0); } - +#endif + /* The 'groups' setting is only relevant for LADSPA operation * If not given, set number groups to number of audio channels, because * they are the same (there is nothing between synth output and 'sound card')