Commit Graph

404 Commits

Author SHA1 Message Date
David Henningsson 862314c134 Protect against empty names in fluid_settings functions
Reference: http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2013-June/033095.html
2013-06-27 06:50:58 +00:00
David Henningsson 7f9ef99f8b rtkit: Fixup the previous patch
Make it build on Solaris, second time around.
2013-05-28 12:58:10 +00:00
David Henningsson 76da410fe2 rtkit: Fix build on solaris
Reported by Laurent Blume.
2013-05-28 10:47:55 +00:00
David Henningsson 09f8a4777e rvoice mixer: Fix memory leak 2013-05-12 10:21:46 +00:00
David Henningsson 822ffbb4ab defsfont: Avoid memory allocation on program change
This memory allocation can be avoided by preallocating one preset
per midi channel (every midi channel only has one current preset).
2013-05-12 10:21:43 +00:00
David Henningsson 36e8257065 Load default soundfont if midi files specified but no soundfont
It makes little sense to play midi files without a soundfont, so
try to load the default one in that use case.
2013-05-05 09:12:18 +00:00
David Henningsson fda26d6b24 Add default soundfont setting: synth.default-soundfont 2013-05-05 09:12:14 +00:00
David Henningsson ea6d033598 chorus level: Probably > 1 is not unreasonable if the default is 2. 2012-12-27 10:07:42 +00:00
David Henningsson ffc49ac408 Fix documentation for fluid_synth_set_chorus (ticket #114) 2012-12-27 09:55:09 +00:00
David Henningsson 41f1fc1920 Actually mlock the right pointer! 2012-12-08 06:36:53 +00:00
David Henningsson 5b2e24a762 Add synth.lock-memory option (possibility to avoid mlock)
Closes ticket #111. Sometimes, e g in a fast-render scenario
or other scenarios where low latency is not important, you can
turn off mlock to reduce memory pressure (and thus allow the soundfont
to swap to disk).
2012-12-08 06:25:21 +00:00
David Henningsson 5f3568deee fluidmax: Fix compilation failure
...by adding new functions to reset reverb and chorus into the engine.
2012-11-18 09:30:46 +00:00
David Henningsson 9fba1fe88a fluidmax: Removed an invalid (non-utf-8) character 2012-11-18 09:30:11 +00:00
David Henningsson 178615c189 Replace bzero with memset
...as memset is more likely to work with all compilers.
2012-10-27 15:25:52 +00:00
David Henningsson e7e07e17c4 Allow sampledata sharing between different FluidSynth instances
This reduces memory usage if two different FluidSynth instances
both try to load the same soundfont file.

Thanks to Kjetil Matheussen <k.s.matheussen@notam02.no> for the patch.
2012-10-12 08:51:13 +00:00
David Henningsson 05acefb59c Fix a few compiler warnings
Like e g "variable z set but never used".
2012-09-23 09:08:45 +00:00
David Henningsson 3d9f821954 voice: Fix float -> enum conversion warning with GEN_SAMPLEMODE
Closes ticket #108.
2012-09-23 08:52:20 +00:00
David Henningsson 62e375c71c Make cmake default to "RelWithDebInfo" if not specified
Recent releases has "none" target as the default, with is problematic.

Also print the build type.
2012-08-04 16:58:48 +00:00
David Henningsson 9800764026 Fix build with some OSSv4 variant
Reported by S Christian Collins.
2012-07-30 21:58:35 +00:00
David Henningsson e70f2a65ee Credit Matt Giuca in AUTHORS file 2012-07-30 07:14:53 +00:00
David Henningsson 85e73665b7 Prepare for 1.1.6 (rc1) release 2012-07-29 04:10:07 +00:00
David Henningsson 52c8821294 rtkit: Prevent libdbus crash 2012-03-25 07:59:23 +00:00
Pedro Lopez-Cabanillas fb923cebe1 Install fluidsynth.pc (pkg-config spec) also in Windows. Closes ticket #102 2012-03-11 12:47:52 +00:00
Pedro Lopez-Cabanillas 0fce00d396 Detect the header <getopt.h> in cmake, enabling the GETOPT_SUPPORT definition that allows the CLI fluidsynth program to use its features (like long arguments) when it is available, for instance in Windows/MinGW. 2012-03-11 11:49:49 +00:00
Pedro Lopez-Cabanillas 6a9b5507e2 fix for ticket #105 - compiling in Mac OSX Lion, patch by TwoBits 2012-03-10 09:45:45 +00:00
David Henningsson d69eab9d11 Documentation error: changed "fluid_synth_setint" to "fluid_settings_setint" 2011-12-18 04:44:14 +00:00
David Henningsson 15e6508ffd Handle MIDI End of track events (Credit: Matt Giuca). Fixes ticket #101. 2011-09-18 10:51:54 +00:00
David Henningsson 8791c115c9 Initialize overflow_rvoice correctly 2011-09-11 04:01:53 +00:00
David Henningsson ab62544737 Prepare for 1.1.5 release 2011-09-04 07:30:52 +00:00
David Henningsson 904ebbe91b Jack: change free to jack_free
Reported by Graham Goode. Fixes crashes on the Windows platform.
2011-08-24 09:25:43 +00:00
David Henningsson bb72c170ad Update Free Software Foundation name and address (closes ticket #99)
Thanks to ogetbilo for the sed script.
2011-08-15 12:57:10 +00:00
David Henningsson 7c13b8c445 Windows MIDI: Fix prototype declarations causing errors on Windows 64bit
(thanks to Graham Goode for reporting and testing, and to Pedro Lopez-Cabanillas for investigation)
2011-08-11 09:05:44 +00:00
David Henningsson b6ffc0a141 Make sure library version is 1.5.0 for both autotools and CMake builds
(reported by both Takashi Iwai and plcl)
2011-08-11 08:03:18 +00:00
David Henningsson 5f84b2c2e2 Fix for ticket #98: Reinsert a missing function that should not
be used from outside anyway.
2011-08-06 17:25:57 +00:00
David Henningsson 19cb8486e9 Add a sentence about Mac OS X in devdoc 2011-08-04 07:05:37 +00:00
David Henningsson 8e7c1408d2 Add devdoc for 1.1.4 2011-07-22 07:36:12 +00:00
David Henningsson 7a8e11e6fa Prepare for 1.1.4 release 2011-07-21 19:29:18 +00:00
David Henningsson 57b0b7835c Fix memory leak causing soundfonts not to be deleted in delete_fluid_synth 2011-05-22 12:11:19 +00:00
David Henningsson 5b3ba5d678 Remove some old mutex code - the mutex should only be controlled by fluid_synth_api_enter/exit. 2011-05-22 09:41:15 +00:00
David Henningsson 13a9e2a789 Add playback callback from the MIDI file player for intercepting MIDI data on playback.
Credits to Jason Vasquez, plcl etc for patch draft and discussion.
2011-05-22 09:03:39 +00:00
David Henningsson 60c6ec5168 Add paper about FluidSynth thread safety, as written for Linux Audio Conference 2011 2011-05-16 09:43:38 +00:00
Pedro Lopez-Cabanillas 990c36a36d *fix build problem, reported by Sven Meier 2011-04-15 22:55:56 +00:00
Pedro Lopez-Cabanillas d73bd4d675 gcc flags again: -Wno-vla removed because it is not supported by an Apple compiler 2011-04-09 22:59:31 +00:00
David Henningsson 5166e24569 Optimization of r415, try to avoid the division if possible. 2011-04-03 09:36:37 +00:00
David Henningsson fa73a202af Use glib utility function for shell parsing - fixes ticket #44 2011-03-27 17:37:44 +00:00
David Henningsson d8aad67d8d Prevent the IIR filter from loud pops on quick frequency changes (ticket #82) 2011-03-27 16:59:15 +00:00
David Henningsson f7d87aa1a8 Rewrite overflow so that an extra rvoice is used, and make sure samples are ref/dref under mutex. 2011-03-27 13:54:52 +00:00
David Henningsson cabb6ad315 Do not use loop noise floor if sample continues in release phase (ticket #93)
Reported by Graham Goode.
2011-03-27 10:18:01 +00:00
Pedro Lopez-Cabanillas abc4ffc5f4 * avoid to output a wrong error message
* new GCC warning flag, trying to avoid a common MSVC unsupported C language construct
2011-03-20 22:16:07 +00:00
Pedro Lopez-Cabanillas f47d7dcddc fix for ticket #97 : Latest fluid_midi.c fails to build under MSVC 2010 2011-03-20 09:33:37 +00:00