- disable jack dependency, it doesn't work (noticed by Jan Stary) - add a note explaining that you need a soundfount and point people at the generaluser-gs-soundfont package
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
$OpenBSD: patch-src_fluidsynth_c,v 1.3 2013/03/29 12:37:43 sthen Exp $
|
|
--- src/fluidsynth.c.orig Thu Aug 16 05:01:13 2012
|
|
+++ src/fluidsynth.c Sun Mar 24 23:58:13 2013
|
|
@@ -295,9 +295,9 @@ int main(int argc, char** argv)
|
|
int with_server = 0;
|
|
int dump = 0;
|
|
int fast_render = 0;
|
|
- int connect_lash = 1;
|
|
char *optchars = "a:C:c:dE:f:F:G:g:hijK:L:lm:nO:o:p:R:r:sT:Vvz:";
|
|
#ifdef LASH_ENABLED
|
|
+ int connect_lash = 1;
|
|
int enabled_lash = 0; /* set to TRUE if lash gets enabled */
|
|
fluid_lash_args_t *lash_args;
|
|
|
|
@@ -325,7 +325,9 @@ int main(int argc, char** argv)
|
|
{"audio-groups", 1, 0, 'G'},
|
|
{"chorus", 1, 0, 'C'},
|
|
{"connect-jack-outputs", 0, 0, 'j'},
|
|
+#ifdef LASH_ENABLED
|
|
{"disable-lash", 0, 0, 'l'},
|
|
+#endif
|
|
{"dump", 0, 0, 'd'},
|
|
{"fast-render", 1, 0, 'F'},
|
|
{"gain", 1, 0, 'g'},
|
|
@@ -460,9 +462,11 @@ int main(int argc, char** argv)
|
|
audio_channels = atoi(optarg);
|
|
fluid_settings_setint(settings, "synth.audio-channels", audio_channels);
|
|
break;
|
|
+#ifdef LASH_ENABLED
|
|
case 'l': /* disable LASH */
|
|
connect_lash = 0;
|
|
break;
|
|
+#endif
|
|
case 'm':
|
|
if (FLUID_STRCMP (optarg, "help") == 0)
|
|
{
|