derselbst
86a19090eb
remove unneeded fluid_server_newclient_func_t
2017-10-07 15:06:06 +02:00
derselbst
b79f2a614e
adapt fluid_server API after cmd_handler decoupling
...
avoid new_fluid_server() to require an already existing instance of fluid_cmd_handler_t just for storing fluid_synth_t* and fluid_midi_router_t*, instead require these two instances explicitly when creating the server
2017-10-07 14:58:26 +02:00
derselbst
38984b0974
avoid memleak
2017-10-07 14:44:22 +02:00
derselbst
b25485d030
update doc for new_fluid_cmd_handler()
2017-10-07 14:43:13 +02:00
derselbst
9e77341482
avoid segfault
2017-10-07 14:42:46 +02:00
derselbst
6531bebbfe
remove struct fluid_cmd_handler_t from public API
2017-10-07 11:47:22 +02:00
derselbst
680d4d51a4
fix sizeof's
2017-10-06 21:17:14 +02:00
derselbst
924d4b3e77
prefer snprintf to sprintf
2017-10-06 20:52:07 +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
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
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
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
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
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
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
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
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
derselbst
225a546276
remove obsolete "audio.[out|in]put-channels" settings
2017-09-21 16:07:19 +02:00
derselbst
872cedbd69
fix return type of fluid_settings_get_type()
2017-09-21 15:31:49 +02:00
Tom M
eba43faf6c
Merge pull request #204 from FluidSynth/volenv
...
Add a setting for volume envelope processing
2017-09-21 15:08:27 +02:00
derselbst
118d24bd3e
partly revert a89ed74537
2017-09-21 10:56:55 +02:00
derselbst
5da9451321
move struct _fluid_mod_t to private header
2017-09-21 10:52:48 +02:00
derselbst
17236fdf50
move FLUID_CHORUS_SET_ALL and FLUID_REVMODEL_SET_ALL to enum
2017-09-20 21:18:34 +02:00
derselbst
24143ee02d
replace fluid_synth_set_gen with fluid_synth_set_gen2
2017-09-20 21:05:13 +02:00
derselbst
c36a1a6c09
remove redundant synth functions
2017-09-20 20:39:43 +02:00
derselbst
783e70ed27
deprecate even more redundant public synth functions
2017-09-20 20:22:18 +02:00
derselbst
3c99490a60
check for new return values of fluid_settings_*()
2017-09-20 20:13:18 +02:00
derselbst
e797853b2b
refactor fluid_settings API
...
consistently return either FLUID_OK or FLUID_FAILED for public fluid_settings_* functions
2017-09-20 14:27:36 +02:00
derselbst
9735059946
cleanup fluid_settings.h
2017-09-20 13:14:48 +02:00
derselbst
b71f474afa
make fluid_preset_t::get_name() const correct
2017-09-20 12:55:55 +02:00
derselbst
7bf280cf77
linebreak
2017-09-19 17:12:33 +02:00
derselbst
d708c2f5e2
specify bufsize via sizeof()
2017-09-19 17:12:14 +02:00
derselbst
40ebd7f3b6
fix build
2017-09-19 16:55:54 +02:00
derselbst
0f6c4c83a1
remove unimplemented "synth.dump" setting
2017-09-19 16:45:38 +02:00
derselbst
201aa5e0d4
minor cleanup for fluid_synth API
...
remove deprecated fluid_synth_get_channel_preset() and fluid_synth_get_program() and fuse their functioning together into fluid_synth_get_channel_info()
2017-09-19 16:32:20 +02:00
derselbst
f43c036391
mark fluid_synth_get_program() as deprecated
2017-09-19 16:04:57 +02:00
derselbst
4e318b4ee6
remove obsolete config_macosx*.h
2017-09-19 13:17:16 +02:00
derselbst
384e0acad9
remove unused and obsolete macbuild
2017-09-19 13:11:45 +02:00
derselbst
6308c1e67b
remove obsolete config_win32.h.in
...
previously used by autotools
2017-09-19 13:08:18 +02:00
derselbst
ca92dbbc94
correctly register synth.volenv options
2017-09-19 10:54:58 +02:00
derselbst
85822ac32a
specify MIDI CCs explicitly for default mods
2017-09-17 10:37:22 +02:00
derselbst
7f3515e136
seqbind: specify MIDI CCs explicitly
2017-09-16 21:57:49 +02:00
derselbst
026d74f125
use doxygen aware "note"
2017-09-16 17:39:53 +02:00
derselbst
53fd1eeac7
remove deprecated fluid_settings_getstr()
2017-09-16 17:30:57 +02:00
derselbst
7b54b07b2d
fix build
2017-09-15 12:34:03 +02:00
derselbst
3939941c5f
remove deprecated autotools build system
2017-09-15 11:29:57 +02:00
derselbst
34f5a14df3
remove deprecated LADCCA support
2017-09-15 11:11:09 +02:00
derselbst
a5382c6b6a
bump copyright year
2017-09-14 12:29:02 +02:00
derselbst
f91e391e8d
correct API "since" version for key pressure feature
2017-09-10 14:27:08 +02:00
derselbst
5baecd9db4
Merge branch 'poly-pressure' of https://github.com/mawe42/fluidsynth into mawe42-poly-pressure
2017-09-10 13:59:07 +02:00
derselbst
bc12b61e4a
allow any double string value for "synth.volenv"
2017-09-09 16:00:00 +02:00
derselbst
29f6ac1049
add setting for volume envelope processing
...
fixes #70
2017-09-07 11:42:01 +02:00
derselbst
a89ed74537
fluid_synth_add_default_mod: specify enum param type explicitly
2017-09-07 10:53:08 +02:00
derselbst
336ae88aaf
new public API to manipulate default modulators
...
patch by @mawe42
2017-09-07 10:45:46 +02:00
derselbst
16f2005d68
fix build against glib<2.30
2017-09-06 09:36:42 +02:00
derselbst
aac2354f5c
remove fop-level "fluidsynth" directory node
...
cd fluidsynth && git mv * ../
2017-09-03 13:30:26 +02:00