Commit graph

159 commits

Author SHA1 Message Date
derselbst
5f8fabb651 remove fluid_cmd_handler_register() from public API
as well as fluid_cmd_handler_unregister() and fluid_cmd_t
2018-01-18 20:39:45 +01:00
derselbst
bf5dbc60cf adjust return value of fluid_server_join()
to be consistent with ladspa API
2017-12-17 11:45:42 +01:00
derselbst
c61bcdca70 silence "network support disabled" warnings
one is enough
2017-12-17 11:42:46 +01:00
carlo-bramini
8025f788d3 Disable network at compile time (option) (#307) 2017-12-17 10:25:54 +01:00
Tom M
ea8ac50333
Merge branch 'master' into cleanup3 2017-12-07 17:11:35 +01:00
derselbst
6eb450b40c silence -Wdocumentation warnings 2017-12-03 20:31:00 +01:00
carlo-bramini
cdfe8d3d7d Include fixes 2 (#296)
Remove redundant includes
2017-12-03 13:12:27 +01:00
derselbst
80063d58f1 Merge branch 'master' into cleanup3 2017-12-02 13:04:49 +01:00
Marcus Weseloh
4b090c2afb Use case-insensitive string match for boolean settings 2017-12-01 19:29:29 +01:00
Marcus Weseloh
9f579d99f3 Remove callback and data parameters from settings_register_* functions
Callback functions and user data can be set with the previously added
functions. And callbacks are only used in a single place in new_fluid_synth,
all other calls to setttings_register_* set those two params to NULL,
so lets remove them everywhere.
2017-11-30 22:57:19 +01:00
derselbst
cde8517c5a make sure doxygen generates ladspa-related docs 2017-11-30 13:01:16 +01:00
Tom M
a7fe5c4257
Merge pull request #283 from FluidSynth/ladspa
Polishing of LADSPA subsystem
2017-11-25 11:45:49 +01:00
derselbst
4051b6da28 cleanup fluid_ladspa.h 2017-11-25 11:17:44 +01:00
derselbst
6931644a4d avoid glib assertion if plugin not found 2017-11-25 10:14:33 +01:00
Marcus Weseloh
c57507a518 Remove statics that are unused if libsndfile is not available 2017-11-24 12:23:30 +01:00
Marcus Weseloh
c605380aa8 Remove unused fluid_tuning_set_key and fluid_is_empty 2017-11-24 10:31:02 +01:00
Marcus Weseloh
a1343103f1 run_adding_gain can safely be set while LADSPA is active 2017-11-24 10:22:13 +01:00
Marcus Weseloh
88092e8c9d Better documentation and err param handling for fluid_ladspa_check 2017-11-21 09:30:31 +01:00
Marcus Weseloh
04285fcf48 Validate params in all public API functions of LADSPA subsystem 2017-11-20 20:35:24 +01:00
Marcus Weseloh
2f19e80d38 Rename buffer_count to num_buffers 2017-11-20 19:59:47 +01:00
Marcus Weseloh
645d8c5da4 Release the API lock when returning from fluid_ladspa_add_host_ports 2017-11-20 19:58:05 +01:00
Marcus Weseloh
e312f5bedd Use TRUE/FALSE for boolean flag 2017-11-20 19:56:42 +01:00
Marcus Weseloh
c7da1ef511 Fix typos and clarify comments 2017-11-20 19:55:06 +01:00
Marcus Weseloh
a328dce437 Remove includes that are already in fluid_ladspa.h 2017-11-20 19:40:26 +01:00
Marcus Weseloh
72d32da33d Remove redundant declarations of public API functions 2017-11-19 17:27:07 +01:00
Marcus Weseloh
0786d8a37f Remove unused define 2017-11-19 14:43:19 +01:00
Marcus Weseloh
e94b7f8003 Remove unused include in fluid_ladspa.c 2017-11-19 14:31:36 +01:00
Marcus Weseloh
79c32301f2 Move fluid_synth_get_ladspa_fx to synth, typedef to types. 2017-11-19 14:29:32 +01:00
Marcus Weseloh
e511992680 Expose LADSPA functions via public API
Always compile in fluid_ladspa.h and c to that the LADSPA API functions
are always exposed, but use dummy functions that return failure (NULL,
FLUID_FAILED or FALSE) if LADSPA isn't available.
2017-11-18 20:48:30 +01:00
Marcus Weseloh
1863c618e8 Add function to get LADSPA effects instance from synth 2017-11-18 20:48:30 +01:00
jjceresa
b71e1230e2
Adjust the upper limit of roomsize.
The upper limit is narrowed from 1.2 to 1.0 value to avoid output
growing  exponentially.
2017-11-16 00:16:34 +01:00
Marcus Weseloh
9dc7a4e52c Merge branch 'master' into ladspa 2017-11-13 22:30:41 +01:00
carlo-bramini
4a5648141c glib.h is already included by fluidsynth_priv.h 2017-11-12 16:26:50 +01:00
carlo-bramini
3fb1bf8d5c Remove includes already into fluidsynth_priv.h with #ifdef...#endif 2017-11-12 14:53:26 +01:00
Marcus Weseloh
50b50e765d Remove debug print statement 2017-11-12 00:54:10 +01:00
Marcus Weseloh
9509628da1 Use glib dynamic librar loading functions 2017-11-12 00:53:57 +01:00
derselbst
c7a02bd812 make fluid_settings_foreach_t const correct 2017-11-11 11:09:17 +01:00
derselbst
12a9692211 make fluid_settings_foreach_option_t const correct 2017-11-11 11:04:12 +01:00
Marcus Weseloh
007cd2b5fc Merge branch 'master' into ladspa
Resolve conflicts in:
	src/bindings/fluid_ladspa.c
2017-11-10 19:36:30 +01:00
Tom M
a13cf153d9
Merge pull request #265 from FluidSynth/delete-refactor
refactor destructor functions to return void if possible and make them safe when called with NULL
2017-11-08 15:45:49 +01:00
Marcus Weseloh
87c37f305d Explicity create left and right host buffers
Makes it possible to create a single host buffer node for the
effect sends.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
4b2414761b Reapply "make struct _fluid_ladspa_fx_t opaque" effects from 5afb1a854b 2017-11-07 23:49:57 +01:00
Marcus Weseloh
9f6ef4e67e Cleanup API and docs
- Rename functions to clarify purpose
- Group functions in header by purpose
- Cleanup doc comments
- Remove unused members from structs
2017-11-07 23:49:57 +01:00
Marcus Weseloh
6508d36bea Remove some macros and cleanup comments 2017-11-07 23:49:57 +01:00
Marcus Weseloh
1ba0450f3a Remove enum for output mode, use a simple flag instead 2017-11-07 23:49:57 +01:00
Marcus Weseloh
be38fa98e3 Cleanup ladspa commands and add more comments
Remove the <effect name>:<port name> syntax for ladspa_link again,
better to have them as two separate arguments. Also remove the
<lib name>:<plugin label> syntax, use separate args where as well.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
61ea5e19db Remove the node concept completely from LADSPA api 2017-11-07 23:49:57 +01:00
Marcus Weseloh
9af97fb02b Add note that LADSPA doesn't need very long command lines anymore 2017-11-07 23:49:57 +01:00
Marcus Weseloh
0b263175d3 Rename "plugin" to "effect" where it's used to mean "plugin instance" 2017-11-07 23:49:57 +01:00
Marcus Weseloh
4212dd04f7 Smaller cleanups for fluid_cmd 2017-11-07 23:49:57 +01:00