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
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
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
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
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
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
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
c40c49b331
fix usage of incorrect string format argument
...
causing segfault
2017-10-28 19:48:29 +02:00
derselbst
d8d5679c8e
fix segfault in delete_fluid_ringbuffer()
2017-10-28 19:47:56 +02: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
8f83592b6e
fix wrong printf format
2017-10-28 13:36:32 +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
f2263e2f62
avoid using g_atomic* directly
2017-10-28 12:57:47 +02:00
Tom M
ad9c185dca
Merge pull request #255 from FluidSynth/alsa-autocon
...
Autoconnect ALSA MIDI inputs.
2017-10-27 22:31:17 +02:00
Tom M
9c7b8f330d
Merge pull request #251 from FluidSynth/polish
...
Some optimizations
2017-10-27 22:27:01 +02:00
derselbst
479b31c9fe
init static atomics in a more general way
2017-10-27 21:04:28 +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
Tom M
f17f5333a8
Merge pull request #257 from VolcanoMobile/default_soundfont_optional
...
dont register synth.default-soundfont if not defined
2017-10-27 15:40:55 +02:00
Tom M
8339a1e70e
Merge pull request #256 from VolcanoMobile/defsfont_cleanup
...
remove glib.h import from fluid_defsfont.h
2017-10-27 15:40:32 +02:00
loki666
d1cc61745c
dont register synth.default-soundfont if not defined
2017-10-26 22:56:49 +02:00
loki666
8eccbb39ab
remove glib.h import from fluid_defsfont.h
2017-10-26 22:54:37 +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
derselbst
56969332b2
promote audio.alsa.autoconnect to a more general setting
...
that could be used across different midi drivers
2017-10-26 15:56:27 +02:00
derselbst
7872f80827
rename alsa autoconnect function to be alsa_seq specific
2017-10-26 15:51:34 +02:00
derselbst
48eb3943e2
adjust log levels for alsa autoconnect
2017-10-26 10:39:52 +02:00
loki666
8b78e3e798
fix fluid_winmidi.c
2017-10-25 23:06:08 +02:00
loki666
6d9081e1a5
use fluid_atomic types in fluid_ladspa and fluid_winmidi
2017-10-25 23:03:56 +02:00
derselbst
39993f3963
assure synth is initialized once
2017-10-25 18:27:59 +02:00
derselbst
a1810385e1
Merge branch 'carlo-bramini-misc-fixes-1'
2017-10-25 17:52:17 +02:00
derselbst
2e17573179
Revert "'mod_count' of struct fluid_voice_t should be an unsigned type."
...
This reverts commit 7db133acae
.
2017-10-25 17:41:56 +02:00
derselbst
43d4659451
make vars const correct
2017-10-25 17:11:41 +02:00
derselbst
24a6748a02
use FLUID_LOG rather than fprintf
2017-10-25 16:58:20 +02:00
derselbst
7a3a97a98e
even more mixed declarations
2017-10-25 16:57:15 +02:00
derselbst
22c38a4205
avoid storing pointer to stack alloced var
2017-10-25 16:56:06 +02:00
derselbst
bb00ce7b25
rename alsa_autoconnect function to fit conventions
2017-10-25 16:52:37 +02:00
derselbst
aa33bd23c0
avoid mixed declarations
2017-10-25 16:51:29 +02:00
derselbst
ae660ebcdb
rename alsa autoconnect setting to fit conventions
2017-10-25 16:49:56 +02:00
Tommaso Cucinotta
31025133b0
Autoconnect ALSA MIDI inputs.
2017-10-25 16:42:13 +02:00
derselbst
5235549172
fix build
2017-10-25 16:28:27 +02:00
derselbst
0b8810ace8
wrap glib byteswap functions in custom FLUID macros
2017-10-25 16:11:43 +02:00
loki666
b07ed23cad
dont use atomics for chorus_ and reverb_ params
2017-10-25 15:10:11 +02:00
loki666
33e56b1b32
init with_reverb and with_chrous local variables
2017-10-25 14:53:27 +02:00
loki666
9ebc22d4e1
add typedef for atomics
...
access atomics via fluid_atomic_X_set/get
2017-10-25 14:38:39 +02:00
derselbst
8f5bd52ea0
use fluid_cb2amp() for lfo calculation
2017-10-25 10:47:03 +02:00
derselbst
27f2ed3750
avoid redundant zero checking
...
count will never become 0
2017-10-25 10:42:59 +02:00
carlo-bramini
96f0f5fe88
Use _close() on _WIN32
2017-10-24 20:25:58 +02:00
carlo-bramini
6068c20728
Place again list_of_generators_to_initialize[] inside fluid_voice_calculate_runtime_synthesis_parameters()
2017-10-24 20:23:21 +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
f1cf28b00c
Remove obsolete check for ladspa->state in rvoice mixer
...
The decision if plugins can be run should stay in the LADSPA codebase.
2017-10-23 21:41:28 +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
7db133acae
'mod_count' of struct fluid_voice_t should be an unsigned type.
2017-10-22 19:40:14 +02:00
carlo-bramini
9d49d29aaf
Declare list_of_generators_to_initialize[] as global static const.
2017-10-22 19:19:14 +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
36d8f95584
avoid accessing uninited memory
2017-10-22 16:19:04 +02:00
derselbst
2623f67865
correctly fix use-after-free
2017-10-22 15:00:51 +02:00
derselbst
a54dfa522a
remove G_STMT_[START|END]
...
for readability
2017-10-22 14:45:16 +02:00
derselbst
77ad959913
remove unused fluid_debug()
2017-10-22 14:43:35 +02:00
derselbst
02bb14243a
remove unused debug enum
2017-10-22 14:41:00 +02:00
derselbst
3d7465a01e
remove FLUID_STMT_[START|END]
...
for readability
2017-10-22 14:39:06 +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
derselbst
456b6afa97
remove redundant getopt.h declarations
2017-10-22 13:25:25 +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
Tom M
7146ecd61b
Merge pull request #239 from carlo-bramini/fluidsynth_no_glib_1
...
Fluidsynth no glib 1
2017-10-22 08:47:56 +02:00