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
Marcus Weseloh
9dc7a4e52c
Merge branch 'master' into ladspa
2017-11-13 22:30:41 +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
Marcus Weseloh
ea3481c57e
Control port values are always float
2017-11-07 23:49:57 +01:00
Marcus Weseloh
fa0b210233
Rename function to set effect control port value
2017-11-07 23:49:57 +01:00
Marcus Weseloh
bcf711f51a
Rename check for effect port existance
2017-11-07 23:49:57 +01:00
Marcus Weseloh
adcd5a5d53
Cleanup automatic control node creation
...
Change function signatures and names to better reflect what they do
and when they do it.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
72517b8715
No need for user created control nodes anymore
...
Control nodes are created automatically when effect is added now.
Also remove the now unused FLUID_LADSPA_FIXED direction.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
e0463843fa
Rename ladspa_node to ladspa_buffer
...
Users don't need to create control nodes anymore
2017-11-07 23:49:57 +01:00
Marcus Weseloh
026bcbcc78
Create control nodes automatically and use better interface to set value
...
Removes ladspa_control_defaults and ladspa_control in favour of the new
ladspa_set. Nodes for all effect controls are created when the effect
is instantiated.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
ea9c868c86
Make plugin label optional when creating effect
2017-11-07 23:49:57 +01:00
Marcus Weseloh
a4312c65ed
Remove explicit direction from ladspa_link and fluid_ladspa_connect
2017-11-07 23:49:57 +01:00
Marcus Weseloh
1684427c33
Rename ladspa_port to ladspa_link
2017-11-07 23:49:57 +01:00
Marcus Weseloh
55cd5040a7
Allow port names in fluid_port to be specified as one argument
2017-11-07 23:49:57 +01:00
Marcus Weseloh
5aecf97097
Rename command ladspa_plugin to ladspa_effect, remove ladspa_mode
2017-11-07 23:49:57 +01:00
Marcus Weseloh
6eb8212723
Add consistent checking for inactive ladspa in fluid commands
2017-11-07 23:49:57 +01:00
Marcus Weseloh
5b4ad47bee
Effects (plugin instances) identified by name instead of unique id
2017-11-07 23:49:57 +01:00
Marcus Weseloh
e77e702b16
Add support for run_adding mode of plugins and in-place rendering
...
In-place rendering is implemented in such a way that there is no
change in behaviour if it is enabled or not. So there's no need
for a user setting.
Run adding mode is a LADSPA feature that plugins can support. Using
that mode, they don't replace an output buffer, but add their rendered
audio to it (with a user definable gain). A very necessary feature to
be able to use a LADSPA reverb in place of the internal reverb.
2017-11-07 23:49:57 +01:00
derselbst
2ed47f23b5
Revert "make struct _fluid_ladspa_fx_t opaque" to prepare ladspa merge
...
It's effects will be replicated after merge.
This reverts commit 5afb1a854b
.
# Conflicts:
# src/bindings/fluid_ladspa.c
2017-11-07 23:49:57 +01:00
carlo-bramini
cb4f1d389d
No need to read-modify-write, just set errors to TRUE
2017-11-04 13:07:18 +01:00
derselbst
bf978e2b6b
even more destructor refactor
2017-10-30 11:28:08 +01:00
derselbst
323320e7e4
refactor all destructor functions
...
to return void if possible and not crash if called with NULL
2017-10-29 13:23:08 +01:00
derselbst
2b882c2877
fix build
2017-10-28 14:19:20 +02:00
derselbst
6dfd736460
refactor return values in fluid_cmd.c
...
consistently return FLUID_OK or FLUID_FAILED for shell command handlers
2017-10-28 14:02:44 +02:00
derselbst
707f1eb079
conflicting function delcarations
...
fix build
2017-10-28 13:53:33 +02:00
derselbst
0ef6da7740
minor clarification
2017-10-28 13:50:13 +02:00
derselbst
642b9750b2
remove unimplemented fluid_handle_mstat()
2017-10-28 13:31:10 +02:00
derselbst
634c07ed45
remove error hiding casts in fluid_commands[]
2017-10-28 13:30:35 +02:00
derselbst
1eb6aa97f3
avoid using deprecated tuning functions
2017-10-27 16:59:20 +02:00
derselbst
db373f168f
Merge branch 'fluid_atomic' of git://github.com/VolcanoMobile/fluidsynth into VolcanoMobile-fluid_atomic
2017-10-27 15:58:54 +02:00
derselbst
5afb1a854b
make struct _fluid_ladspa_fx_t opaque
2017-10-26 21:45:29 +02:00
Philippe Simons
cdd9f75112
thread function return type ( #254 )
...
typedef the return value of thread starting routines, as suggested by @loki666
2017-10-26 18:08:10 +02:00