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
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
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
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
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
loki666
6d9081e1a5
use fluid_atomic types in fluid_ladspa and fluid_winmidi
2017-10-25 23:03:56 +02:00
derselbst
a1810385e1
Merge branch 'carlo-bramini-misc-fixes-1'
2017-10-25 17:52:17 +02:00
carlo-bramini
96f0f5fe88
Use _close() on _WIN32
2017-10-24 20:25:58 +02:00
Marcus Weseloh
e485129705
Merge pull request #249 from mawe42/more-ladspa-cleanup
...
More LADSPA cleanup and refactor
2017-10-24 15:50:05 +02:00
Marcus Weseloh
dab11fd503
Breakup very long fluid_ladspa_check into smaller functions
2017-10-24 00:40:09 +02:00
Marcus Weseloh
ab26f85bf8
Add check for in-place broken plugins
...
In-place broken plugins can't cope with input and output audio
ports connected to the same buffer.
2017-10-23 23:16:06 +02:00
Marcus Weseloh
8814926857
Replace number of inputs and outputs on ports with pointer to connected node
...
Ports can only have a single input or output, so no need for two counters.
And keeping track of the connected node means we can check for
INPLACE_BROKEN plugins, if multiple ports connect to the same node.
2017-10-23 22:12:04 +02:00
Marcus Weseloh
93dbac3535
When clearing LADSPA, also reset connection counts on system nodes
2017-10-23 22:07:58 +02:00
Marcus Weseloh
a1ff8d0e55
Render all block using a single LADSPA run
...
Removes the need for VLAs before ladspa call in rvoice mixer and number
for for loops to set up and advance the buffers. Also reduces the number
of state changes (and atomic operations) by calling fluid_ladspa_run only
once.
2017-10-23 21:41:28 +02:00
Marcus Weseloh
105d9835cb
Explicity pass in the audio buffer size when creating LADSPA fx.
...
And don't pass in node buffer sizes into new_fluid_ladspa_node but
determine it from the node type.
2017-10-23 21:41:20 +02:00
derselbst
168274fbbd
fix build
2017-10-23 12:43:07 +02:00
R. Mattes
afe915dab2
Fixed dumptuning
2017-10-22 21:36:25 +02:00
carlo-bramini
e1c3b46ee2
Fix an handle leak
2017-10-22 19:13:16 +02:00
R. Mattes
38758c78dd
Fixed nasty loop test
2017-10-22 18:47:00 +02:00
derselbst
2deffc40c0
remove redundant #ifdef LADSPA
...
cmake will take care of compiling fluid_ladspa.c
2017-10-22 14:31:57 +02:00
Marcus Weseloh
799f3ea44c
Merge pull request #242 from mawe42/ladspa-additional-fixes
...
More fixes to LADSPA system
2017-10-22 11:38:37 +02:00
Marcus Weseloh
e18e54d7ae
White-space
2017-10-22 11:24:25 +02:00
Marcus Weseloh
e0dcdbcdfc
Correct documentation for fluid_ladspa_run
2017-10-22 11:24:25 +02:00
Marcus Weseloh
47d640571b
Add missing check for ladspa_is_active to ladsap_control_defaults
2017-10-22 11:24:25 +02:00
Marcus Weseloh
29a4abb9a5
Use int for number of inputs and outputs, some plugins have a lot of ports
2017-10-22 11:24:25 +02:00
derselbst
24614d343d
Revert "ladspa: atomically get and set pending_deactivation"
...
This reverts commit 6c69b8ccff
.
2017-10-22 11:23:34 +02:00
Marcus Weseloh
3cc684e47e
Avoid a few ifdefs by defining two separate sets of node<->buffer functions
2017-10-21 22:36:34 +02:00
Marcus Weseloh
4d256ce8cc
Add new command to FluidSynth shell to set control ports to default value
2017-10-21 19:49:49 +02:00
Marcus Weseloh
2787b0e10e
Add function to automatically set unconnected port to default value
...
Uses the hints in the plugin to determine the default value.
2017-10-21 19:47:03 +02:00
Marcus Weseloh
7534e54d4f
Check LADSPA setup before activation
2017-10-21 19:47:03 +02:00
derselbst
c205e0162d
avoid null dereferences in delete_fluid_ladspa_plugin()
...
be extremely paranoid as suggested by clang-tidy
2017-10-21 19:01:07 +02:00
derselbst
6c69b8ccff
ladspa: atomically get and set pending_deactivation
2017-10-21 18:31:20 +02:00
derselbst
81505b9324
remove redundant ';'
2017-10-21 18:22:19 +02:00
derselbst
402f76bfb8
avoid duplicate ';'
2017-10-21 18:21:03 +02:00
derselbst
1d0cfd605f
prefer using enum for LADSPA state
2017-10-21 18:13:40 +02:00
derselbst
4911bc8de4
credit @mawe42 for rewriting LADSPA
2017-10-21 18:09:38 +02:00