Bug fix for build error when neither LASH nor LADCCA present.

This commit is contained in:
Element Green 2006-02-20 11:48:06 +00:00
parent d3b6d6edd0
commit eecfb1e016
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-20 Josh Green <jgreen@users.sourceforge.net>
* Fixed build error that occured when neither LASH or LADCCA are
present.
2006-02-18 Josh Green <jgreen@users.sourceforge.net>
* FluidSynth release 1.0.7 "Increasing Fluidity.."

View File

@ -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')