Commit graph

693 commits

Author SHA1 Message Date
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
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
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
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
Marcus Weseloh
9766acc41a Also consider channel pressure, key pressure and pitchwheel modulators when calculating lower attenuation boundary. 2017-09-23 13:27:13 +02:00
Marcus Weseloh
50b6e9462e Cleanup indentation 2017-09-23 13:20:51 +02:00
derselbst
94d436ae0b add reserved space to struct _fluid_synth_channel_info_t 2017-09-23 11:02:29 +02:00
derselbst
6ddf9448e3 cleanup travis 2017-09-22 21:37:28 +02:00
derselbst
bd24c2f1f1 add macosx build to travis 2017-09-22 20:23:29 +02:00
derselbst
75e5284f72 another return val fix 2017-09-22 15:43:41 +02:00
derselbst
7bef6f8787 fix return value checks 2017-09-22 15:18:32 +02:00
Tom M
2a3ff1d2cf Merge pull request #207 from FluidSynth/cleanup
source code cleanup, API compatibility broken
2017-09-22 14:10:38 +02:00
derselbst
480fbaba8f update devdoc 2017-09-22 13:39:35 +02:00
derselbst
e9cc151e06 update devdoc 2017-09-22 13:22:16 +02:00
derselbst
87f2ab13e7 cleanup public generator API
move fluid_gen_set_default_values(), enum fluid_gen_flags and struct _fluid_gen_t to private header because no other public function seems to need fluid_gen_t
2017-09-22 11:45:06 +02:00
derselbst
4292b6af08 deprecate fluid_gen_set_default_values() 2017-09-22 11:38:54 +02:00
derselbst
9e9eacbc20 refactor return value checking of fluid_settings_*() 2017-09-21 22:09:24 +02:00
derselbst
5f3cafbcfd better return a bool for fluid_settings_str_equal() 2017-09-21 21:48:06 +02:00