carlo-bramini
931e4349a6
Reverted again to unsigned type on fluid_synth_set_reverb_preset(), fixed error on fluid_return_val_if_fail() usage.
2017-10-21 17:13:02 +02:00
carlo-bramini
b15f6c4b2a
Reverted change to unsigned type on fluid_synth_set_reverb_preset(), used fluid_return_val_if_fail() for consistency.
2017-10-21 16:49:07 +02:00
carlo-bramini
ae041fdcec
Made fluid_gen_info[] static
2017-10-21 16:41:03 +02:00
carlo-bramini
6f51fca022
Same fix for fluid_adriver.c
2017-10-21 14:01:22 +02:00
carlo-bramini
6b3ec26242
Added 2 missing tests with FLUID_N_ELEMENTS()
2017-10-21 13:56:48 +02:00
carlo-bramini
fceeffa8de
Remove unused variable.
2017-10-21 13:33:28 +02:00
carlo-bramini
be8acf4e27
Replace PI with standard M_PI.
2017-10-21 13:15:57 +02:00
carlo-bramini
94b752f433
Made fluid_libname[] to be const.
2017-10-21 12:54:53 +02:00
carlo-bramini
4293fddc05
Fixes for using standard math constants
2017-10-21 12:54:00 +02:00
carlo-bramini
48936975e7
Fixed prototype for fluid_synth_set_reverb_preset()
2017-10-21 12:52:03 +02:00
carlo-bramini
0722ab3ab4
Optimized revmodel_preset[] as const and rewritten fluid_synth_set_reverb_preset()
2017-10-21 12:50:52 +02:00
carlo-bramini
95ea3c0fba
idlist[], badgen[] and badpgen[] made static const
2017-10-21 12:47:59 +02:00
carlo-bramini
4f8ab20355
fluid_gen_info[] made as a const object
2017-10-21 12:46:13 +02:00
carlo-bramini
87bff4d3ef
Optimized arrays to be fully const and FLUID_N_ELEMENTS() support.
2017-10-21 12:43:59 +02:00
carlo-bramini
5e0bc7c143
Optimized fluid_midi_drivers[]
2017-10-21 12:41:42 +02:00
carlo-bramini
a10662e897
Optimized fluid_audio_drivers[]
2017-10-21 12:40:38 +02:00
carlo-bramini
152fb395f5
Optimized fluid_commands[]
2017-10-21 12:38:44 +02:00
derselbst
c7789c0e58
fluid_synth_system_reset: avoid code duplication
...
reuse fluid_synth_all_sounds_off_LOCAL()
2017-10-20 20:38:37 +02:00
derselbst
4b9405a4ce
remove unused fluid_voice_t::debug
2017-10-20 12:26:37 +02:00
derselbst
587a8408cf
Revert "remove redundant debug vars for fluid_voice_t"
...
This reverts commit 69d41ae5ec
. Fixing build if -Denable-profiling=1
2017-10-20 12:25:45 +02:00
derselbst
3101647e32
slightly optimize fluid_voice_t in size
2017-10-19 23:52:46 +02:00
derselbst
69d41ae5ec
remove redundant debug vars for fluid_voice_t
2017-10-19 23:46:20 +02:00
derselbst
7fb3a93e83
minor doc update for fluid_voice_is_*()
2017-10-19 23:28:59 +02:00
derselbst
e866bc98e0
fix return val of fluid_file_set_encoding_quality()
2017-10-19 18:04:03 +02:00
derselbst
39406fe477
cleanup portaudio #includes
...
fixes win32 build issue (unistd.h missing)
2017-10-16 15:45:50 +02:00
derselbst
b4c36b1ba2
fix indentation
2017-10-15 20:17:45 +02:00
derselbst
64b929ced6
replace strcasecmp with FLUID_STRCASECMP
2017-10-15 20:16:04 +02:00
derselbst
458cb94b93
correct conditional define of FLUID_[V]SNPRINTF
...
fixes build
2017-10-15 20:06:44 +02:00
carlo-bramini
a89c7c5183
Replace remaining vsnprintf with FLUID_VSNPRINTF
2017-10-15 18:57:06 +02:00
carlo-bramini
0b16169f35
Replace g_snprintf with FLUID_SNPRINTF
2017-10-15 18:53:06 +02:00
carlo-bramini
9321dda281
Use FLUID_SNPRINTF into all remaining files
2017-10-15 18:42:44 +02:00
carlo-bramini
1c0419c4c3
Include fluid_sys.h, required for FLUID_INLINE
2017-10-15 17:34:24 +02:00
carlo-bramini
55c682b1b0
Use FLUID_INLINE in all remaining parts of the sources
2017-10-15 17:27:30 +02:00
derselbst
f63b26748f
update doc for fluid_synth_set_channel_type()
2017-10-12 12:05:02 +02:00
derselbst
82f564506c
deprecated redundant tuning functions and clarify docs
2017-10-12 11:25:09 +02:00
derselbst
820448bafe
fix memory leak in fluid_client_t
...
let each fluid_client_t own its fluid_cmd_handler_t and delete it properly
2017-10-11 10:51:59 +02:00
Tom M
0902b261cc
Merge pull request #205 from FluidSynth/def-mod-api
...
API to manipulate default modulators
2017-10-10 18:29:11 +02:00
derselbst
accefc170f
avoid deref NULL
...
in fluid_synth_add_default_mod()
2017-10-10 18:20:27 +02:00
Tom M
b1c23fb35d
minor doc update for fluid_synth_add_default_mod()
2017-10-10 18:16:58 +02:00
derselbst
360ae04135
update API doc
2017-10-07 15:21:38 +02:00
derselbst
86a19090eb
remove unneeded fluid_server_newclient_func_t
2017-10-07 15:06:06 +02:00
derselbst
b79f2a614e
adapt fluid_server API after cmd_handler decoupling
...
avoid new_fluid_server() to require an already existing instance of fluid_cmd_handler_t just for storing fluid_synth_t* and fluid_midi_router_t*, instead require these two instances explicitly when creating the server
2017-10-07 14:58:26 +02:00
derselbst
38984b0974
avoid memleak
2017-10-07 14:44:22 +02:00
derselbst
b25485d030
update doc for new_fluid_cmd_handler()
2017-10-07 14:43:13 +02:00
derselbst
9e77341482
avoid segfault
2017-10-07 14:42:46 +02:00
derselbst
6531bebbfe
remove struct fluid_cmd_handler_t from public API
2017-10-07 11:47:22 +02:00
derselbst
680d4d51a4
fix sizeof's
2017-10-06 21:17:14 +02:00
derselbst
924d4b3e77
prefer snprintf to sprintf
2017-10-06 20:52:07 +02:00
Tom M
668980b44b
Merge pull request #230 from FluidSynth/cmake-os2
...
OS/2 cmake fixes
2017-10-06 13:17:12 +02:00
Tom M
5ae62791ae
dont hardcode buf size
2017-10-06 13:15:09 +02:00