Commit graph

1483 commits

Author SHA1 Message Date
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
Tom M
15464b1453
Merge pull request #267 from carlo-bramini/stdint-fixes
use stdint compliant ints; include stdint.h if possible, else fallback to glib
2017-11-07 21:41:49 +01:00
Tom M
2c5e7ab6e4
Merge pull request #266 from tomcucinotta/autoconnect_alsa_at_runtime
Autoconnect ALSA MIDI inputs also while fluidsynth is running
2017-11-07 21:38:23 +01:00
derselbst
b1d0db7d5c define customized fluid_return_if_fail
unlike glib's g_return_if_fail, dont log to console if condition fails
2017-11-07 21:11:49 +01:00
Tom M
91a63595f4
Merge pull request #261 from VolcanoMobile/player_seek
add seek to player
2017-11-07 11:34:15 +01:00
Tom M
0a4a588d7c
bump version for fluid_player_seek() 2017-11-07 11:33:02 +01:00
loki666
aa8a32951a avoid hanging notes 2017-11-05 20:27:21 +01:00
carlo-bramini
c2eab91ac2 Remove VisualC++ types. 2017-11-05 18:20:51 +01:00
carlo-bramini
137ace8e87 Add also int64_t for completeness. 2017-11-05 17:59:07 +01:00
carlo-bramini
5a2bb5a109 Use GLIB types if stdint.h is not available 2017-11-05 16:08:43 +01:00
derselbst
1b2a098c7c delete_*() refactorings in defsfont 2017-11-05 15:33:28 +01:00
carlo-bramini
90b0352343 Restore chmod 644 to CMakeList.txt 2017-11-04 13:17:40 +01:00
carlo-bramini
cb4f1d389d No need to read-modify-write, just set errors to TRUE 2017-11-04 13:07:18 +01:00
carlo-bramini
4ee44a24a5 Use stdint type names instead of sint8, sint16, etc 2017-11-04 12:53:44 +01:00
Tom M
71a3133d01
Update CONTRIBUTING.md
fix typo
2017-11-04 09:05:17 +01:00
loki666
7a803c3ee4 fix typo 2017-11-03 22:48:21 +01:00
loki666
58ec452054 update api doc
fluid_player_seek returns FLUID_FAILED if ticks is negative
2017-11-03 21:11:32 +01:00
loki666
64eda30cf4 handle seeking in fluid_track_send_events 2017-11-02 10:51:07 +01:00
Tommaso Cucinotta
f23b0f7a19 Autoconnect ALSA MIDI inputs not only on start, but also while fluidsynth is running (if midi.autoconnect == 1). 2017-11-01 18:10:23 +01:00
derselbst
78ab309bb6 complete implementation of fluid_audio_driver_register() 2017-11-01 16:20:16 +01:00
Tom M
30c0a72039
Merge pull request #260 from FluidSynth/contrib
add contribution guidelines
2017-11-01 13:56:53 +01:00
loki666
3f1a05cf38 update fluid_player_seek API doc, and return values 2017-11-01 09:49:21 +01:00
Tom M
97a1a24874
Merge pull request #262 from FluidSynth/doc-2.0
cleanup API doc
2017-10-31 16:56:12 +01:00
derselbst
61e95d0647 bump doxygen API version to 2.0 2017-10-30 19:50:58 +01:00
derselbst
242c2cd119 replace NEXT_RELEASE with 2.0.0
find . -type f -exec sed -i s/@NEXT_RELEASE@/2.0.0/ '{}' \;
2017-10-30 19:26:40 +01:00
derselbst
9b6d3d4c55 support for registering audio drivers based on actual needs 2017-10-30 17:42:37 +01:00
derselbst
abab1f87e4 make modulator API const correct 2017-10-30 15:21:38 +01:00
derselbst
179f87f952 add a function for removing default modulators 2017-10-30 15:19:46 +01:00
derselbst
60121af287 fix segfault when deleting sample_timers 2017-10-30 13:10:52 +01:00
derselbst
f4940e72e2 update API doc to reflect delete_* returning void 2017-10-30 12:05:24 +01:00
derselbst
681f62ce4d fix conflicting declarations
fix build
2017-10-30 11:53:02 +01:00
derselbst
1da426dcfd remove redundant NULL checks in delete_fluid_synth() 2017-10-30 11:37:06 +01:00
derselbst
5427a4ebf5 refactor delete_fluid_voice() to return void
return value was ignored anyway
2017-10-30 11:33:23 +01:00
derselbst
bf978e2b6b even more destructor refactor 2017-10-30 11:28:08 +01:00
loki666
6c8a72fa0a add seek to player 2017-10-30 10:53:45 +01:00
derselbst
a381b09dc6 remove orphaned fluid_defsfont_get_sample() 2017-10-29 21:05:18 +01:00