Commit graph

862 commits

Author SHA1 Message Date
derselbst
924d4b3e77 prefer snprintf to sprintf 2017-10-06 20:52:07 +02:00
Tom M
2d713839e0 Merge pull request #206 from FluidSynth/clang-format
add clang-format
2017-10-06 13:22:15 +02:00
Tom M
668980b44b Merge pull request #230 from FluidSynth/cmake-os2
OS/2 cmake fixes
2017-10-06 13:17:12 +02:00
Tom M
cb036d2023 Merge pull request #222 from FluidSynth/cmd-handler
shell command handler decoupled
2017-10-06 13:16:02 +02:00
Tom M
5ae62791ae dont hardcode buf size 2017-10-06 13:15:09 +02:00
Tom M
82b2000d08 Merge branch 'master' into cmd-handler 2017-10-06 13:11:21 +02:00
Tom M
87fdc38264 Merge pull request #229 from FluidSynth/fluid-exec
minor fixes for fluidsynth.c
2017-10-06 13:08:51 +02:00
KO Myung-Hun
692e6ef2ce Use normal library name for OS/2
Now, CMake for OS/2 can process a DLL name properly longer than 8
characters.

Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:47:57 +02:00
KO Myung-Hun
0130cbdd4d Remove ${} from CMAKE_SYSTEM variable in IF statement
IF statement interprets a variable without ${}.

And without this, CMAKE_SYSTEM is not checked correctly on CMAKE 3.4.1.

Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:47:33 +02:00
KO Myung-Hun
ae6d1dd8ba Remove -fvisibility=hidden flag on OS/2
On OS/2, -fvisibility=hidden is ignored.

Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:47:25 +02:00
KO Myung-Hun
d495b0cfc2 Disable IPv6 on OS/2
OS/2 does not support IPv6, yet.

Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:44:51 +02:00
derselbst
e36e39249b update API docs for new chorus/reverb setters 2017-10-06 10:59:41 +02:00
derselbst
2b861a12eb assure audio_groups is not overwritten
with an unset value, fixes #225
2017-10-06 10:34:35 +02:00
derselbst
6e3644d1aa cleanup fluidsynth.c 2017-10-06 10:31:44 +02:00
derselbst
3a4385c7f6 settings: avoid silent error hiding
fail if param out of range, addresses #225
2017-10-06 10:28:28 +02:00
derselbst
84fe779b98 jack: atomically get audio_driver 2017-10-06 10:25:38 +02:00
derselbst
8d5cccdb80 Merge branch 'mawe42-ladspa-fixes' 2017-10-05 10:55:56 +02:00
Marcus Weseloh
842d8ba963 Use proper type of node->buf for later memset to avoid buffer overflows 2017-10-04 23:28:10 +02:00
Marcus Weseloh
30dc8f399a Constant nodes now use '$' as first char.
'#' is being treated as a comment by g_shell_parse_argv
2017-10-04 23:28:10 +02:00
Marcus Weseloh
e7ab4f3b8d Create the correct number of output nodes (also removed unused variable warning) 2017-10-04 23:28:10 +02:00
Marcus Weseloh
dd39761dbd Retrieve channel config from synth instance
The audio-groups, audio-channels and effect-channels settings
have already been read and set on the synth instance. No need
to read them in again, especially not in fluid_LADSPA_run, as
that is called very often.
2017-10-04 23:25:27 +02:00
Tom M
10c4cfa29e return NULL if LADSPA alloc fails
instead of assertion fail
2017-10-04 19:59:31 +02:00
Tom M
5ac826d0e0 fail if LADSPA alloc fails but was requested by user 2017-10-04 19:54:57 +02:00
Marcus Weseloh
eb42279d71 Evaluate the synth.ladspa.active setting and check for the existance of LADSPA_FxUnit in all command handlers. 2017-10-04 18:57:08 +02:00
derselbst
23d15db8fa remove fluid_synth_set_midi_router()
only needed by shell command handler previously
2017-10-04 14:30:46 +02:00
derselbst
f4a3c7302e avoid midi_router cmd conflicts
if multiple cmd handlers are used + fix build
2017-10-03 21:42:36 +02:00
derselbst
c8007e655b add individual chorus setters to synth API 2017-10-03 21:12:35 +02:00
derselbst
77749637d2 add individual reverb setters to synth API 2017-10-03 20:17:48 +02:00
derselbst
17aacf4fd9 decouple cmd_handler for midi_router 2017-10-03 18:10:27 +02:00
Tom M
dc5ca3bb46 Merge pull request #214 from FluidSynth/settings-align
fluid_settings: fix alignment warnings
2017-10-02 22:31:39 +02:00
Bernat Arlandis i Mañó
3c14435a8c Command handler decoupled. Moved config file loading after starting everything. 2017-10-02 18:25:58 +02:00
derselbst
78233a191d port midi settings to xml 2017-10-02 16:46:18 +02:00
derselbst
6fe0da959d update fluidsettings.xsl 2017-10-02 10:40:20 +02:00
derselbst
0aa925ec3a move general midi and shell settings to xml 2017-10-02 09:53:07 +02:00
derselbst
c92fcddcc1 move audio settings to xml 2017-10-01 21:11:34 +02:00
derselbst
6e9f73afb8 port synth settings to xml 2017-10-01 14:26:32 +02:00
derselbst
0e2e67d6f5 fix dsound audio driver on windows
addresses #215
2017-10-01 10:17:22 +02:00
Tom M
29b4d87d25 readme: update link to swami 2017-09-28 20:26:14 +02:00
derselbst
81f30ce6d1 add a test file for documenting fluid settings 2017-09-28 20:08:53 +02:00
Tom M
648fad6769 update travis
install port- and pulseaudio for macosx builds
2017-09-28 16:44:12 +02:00
Tom M
dc1be114fd update travis
install libsndfile jack dbus-glib for macosx
2017-09-25 17:15:09 +02:00
derselbst
16d7a42ce2 Revert "fix build"
This reverts commit 40ebd7f3b6.
2017-09-24 19:52:46 +02:00
derselbst
503e459ea9 deprecate fluid_synth_get_channel_info() 2017-09-24 14:56:55 +02:00
derselbst
6b7f3c0264 remove deprecated flag from fluid_synth_get_channel_preset() 2017-09-24 14:56:11 +02:00
derselbst
1d9fc3ad5b Revert "mark fluid_synth_get_program() as deprecated"
This reverts commit b849ea1e88.
2017-09-24 14:55:42 +02:00
derselbst
44b7dbc13c Revert "minor cleanup for fluid_synth API"
This reverts commit 201aa5e0d4. Merging functions for different usecases was a bad idea.
2017-09-24 14:46:35 +02:00
derselbst
2b6c68d422 update doc for fluid_file_set_encoding_quality() 2017-09-23 20:52:16 +02:00
derselbst
41310d2e0e fluid_settings: fix alignment warnings
by using a union for fluid_setting_node_t
2017-09-23 19:31:35 +02:00
derselbst
d524a0fff8 add gitignore 2017-09-23 18:17:40 +02:00
Tom M
30a7cf22ba Merge pull request #212 from mawe42/lower-att-boundary-fix
Consider channel pressure, key pressure and pitch wheel for lower attenuation boundary calculation
2017-09-23 18:04:09 +02:00