pkgsrc/audio/fluidsynth/patches/patch-ae
wiz cd9fde03cc Update to 1.0.9. Set LICENSE to gnu-lgpl-v2.
Features and improvements

    * New PulseAudio? driver (Josh Green)
    * New Jack MIDI driver (Josh Green)
    * New CoreMIDI driver (Pedro Lopez-Cabanillas)
    * Portaudio driver re-written for Portaudio 19 (Josh Green)
    * Support for OS/2 including Dart audio driver (KO Myung-Hun)
    * RPN GM MIDI messages now handled for Bend Range, Fine Tune
    and Coarse Tune (Josh Green)
    * MIDI channel pressure now handled (Bernat Arlandis i Mañó)
    * MIDI Program/Bank instrument fallback selection logic (Josh
    Green and thanks also to Jimmy)
    * Added midi.portname setting to ALSA sequencer, -p command
    line switch (Nicolas Boulicault)
    * Added midi.winmidi.device setting to winmidi driver (Pedro
    Lopez-Cabanillas)
    * Updated Max/MSP FluidSynth binding (Norbert Schnell)

Synthesis Changes

    * Volume attenuation SoundFont generator now behaves more like
    EMU10K1 (S. Christian Collins)
    * Stop forcing velocity based filtering (S. Christian Collins)
    * Fixes to linear/bipolar/positive and convex/bipolar/positive
    modulator functions (S. Christian Collins)
    * Added fix to properly search for percussion instrument (Josh
    Green)
    * Force velocity envelope value to be that of the previous
    stage when switching from decay to sustain (S. Christian Collins)
    * Filter calculation now uses synthesizer sample rate rather
    than fixed at 44100 (S. Christian Collins)

Bug fixes

    * Fixed Jack driver in "audio.jack.multi=yes" mode and Jack
    audio driver cleanup (Bernat Arlandis i Mañó and Pedro
    Lopez-Cabanillas)
    * Wrong tempo changes (ticket #22 - Pedro Lopez-Cabanillas)
    * Crash bug fix related to using certain modulators in a preset
    (S. Christian Collins)
    * Fix to non-option command line argument processing when not
    using readline (Pedro Lopez-Cabanillas)
    * dsound device can't be selected (Ticket #16 - Pedro
    Lopez-Cabanillas)
    * Minor build fixes (Josh Green)
    * Fixed compilation under MSVC 2008 and older (Pedro
    Lopez-Cabanillas)

Misc. stuff

    * Updated README-OSX build instructions (Ebrahim Mayat)
    * FluidSynth fink package accepted for Mac OS X (Ebrahim Mayat)
    * Minor fixes to FluidSynth man page (Sven Hoexter)
2009-05-13 22:08:21 +00:00

53 lines
1.6 KiB
Text

$NetBSD: patch-ae,v 1.4 2009/05/13 22:08:21 wiz Exp $
--- src/fluidsynth.c.orig 2009-02-04 07:45:02.000000000 +0000
+++ src/fluidsynth.c
@@ -212,9 +212,9 @@ int main(int argc, char** argv)
int audio_channels = 0;
int with_server = 0;
int dump = 0;
- int connect_lash = 1;
char *optchars = "a:C:c:df:G:g:hijK:L:lm:no:p:R:r:sVvz:";
#ifdef LASH_ENABLED
+ int connect_lash = 1;
int enabled_lash = 0; /* set to TRUE if lash gets enabled */
fluid_lash_args_t *lash_args;
@@ -237,7 +237,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'},
{"gain", 1, 0, 'g'},
{"help", 0, 0, 'h'},
@@ -344,9 +346,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':
fluid_settings_setstr(settings, "midi.driver", optarg);
break;
@@ -421,6 +425,7 @@ int main(int argc, char** argv)
#endif
#ifdef LASH_ENABLED
+#ifdef LASH_ENABLED
/* connect to the lash server */
if (connect_lash)
{
@@ -428,6 +433,7 @@ int main(int argc, char** argv)
fluid_settings_setint (settings, "lash.enable", enabled_lash ? 1 : 0);
}
#endif
+#endif
/* The 'groups' setting is only relevant for LADSPA operation
* If not given, set number groups to number of audio channels, because