Commit graph

2530 commits

Author SHA1 Message Date
derselbst
7a22eb87f6 add an example of how read a soundfont from memory 2017-11-26 10:07:08 +01:00
derselbst
332c221cfb update docs about file callback struct 2017-11-26 09:29:35 +01:00
derselbst
8fb1f500e0 validate param of new_fluid_defsfloader() 2017-11-26 08:55:19 +01:00
derselbst
6cdcf5137e make sure fluid_file_callbacks_t is recognized by doxygen 2017-11-25 23:10:09 +01:00
derselbst
ae29be83d8 no need to expose delete_fluid_defsfloader()
fluid_sfloader_t::free() can be used instead
2017-11-25 22:56:00 +01:00
derselbst
5c5423df32 update API doc about new_fluid_defsfloader() 2017-11-25 22:54:48 +01:00
derselbst
b334ba3f8f update API doc about fluid_sfloader_t::free() 2017-11-25 22:54:20 +01:00
derselbst
31592fee64 fix return value check for fseek 2017-11-25 22:35:05 +01:00
derselbst
3c39d68294 change fluid_sfloader_t::free() to return void 2017-11-25 22:32:00 +01:00
derselbst
f55e90aa80 expose new_fluid_defsfloader() to public API
to enable custom soundfont loading
2017-11-25 22:24:01 +01:00
derselbst
96356cbf9d correctly check return values for file callback functions 2017-11-25 22:12:59 +01:00
derselbst
1c6b0337f2 update API doc about fluid_file_callbacks_t 2017-11-25 22:05:31 +01:00
derselbst
d02eaf6585 continue file callback implementation 2017-11-25 21:43:13 +01:00
derselbst
09c084e776 fix build 2017-11-25 20:41:31 +01:00
mikelow
1e65ba1a49 add fluid_file_callbacks struct to fluid_defsfont
to perform file operations through callbacks
2017-11-25 20:35:42 +01:00
carlo-bramini
763b1f39a5 Minor fix, no need to include glib.h, fluidsynth_priv.h includes it already. 2017-11-25 14:54:28 +01:00
carlo-bramini
f26258cd1f Unified BSD socket source, for WIN32 and POSIX. 2017-11-25 14:50:52 +01:00
derselbst
4178bbdb72 avoid signedness warnings
on platforms where char is unsigned
2017-11-25 12:29:07 +01:00
Tom M
a7fe5c4257
Merge pull request #283 from FluidSynth/ladspa
Polishing of LADSPA subsystem
2017-11-25 11:45:49 +01:00
derselbst
4051b6da28 cleanup fluid_ladspa.h 2017-11-25 11:17:44 +01:00
derselbst
6484440ee1 enforce signedness when reading MThd 2017-11-25 10:43:03 +01:00
derselbst
6931644a4d avoid glib assertion if plugin not found 2017-11-25 10:14:33 +01:00
Tom M
a1623f673f
Merge pull request #288 from FluidSynth/misc-fixes
remove unused code + fix compiler warnings
2017-11-24 20:17:41 +01:00
derselbst
e567df3f40 add doxygen since to fluid_audio_driver_register() 2017-11-24 17:45:07 +01:00
derselbst
5051dcb131 mention fluid_synth_remove_default_mod() in API docs 2017-11-24 17:43:38 +01:00
Marcus Weseloh
267325f107 char is unsigned on some platforms/compilers (e.g. on Linaro ARM 2016.11) 2017-11-24 12:30:10 +01:00
Marcus Weseloh
c57507a518 Remove statics that are unused if libsndfile is not available 2017-11-24 12:23:30 +01:00
Marcus Weseloh
49d19be9c8 Include glib as system includes, to get rid of annoying glib warnings in gcc 2017-11-24 11:30:14 +01:00
Marcus Weseloh
1f4a6008b8 Fix indentation to get rid of GCC "not guarded by if" warnings 2017-11-24 11:29:38 +01:00
Marcus Weseloh
f1d28bdeb9 Remove unused fluid_track_* methods
fluid_track_count_events
fluid_track_first_event
fluid_track_get_name
2017-11-24 11:09:34 +01:00
Marcus Weseloh
5f6003e465 Remote unused fluid_player_count_tracks, fluid_player_get_track 2017-11-24 10:57:00 +01:00
Marcus Weseloh
432929c18c Make use of fluid_tuning_set_name where appropriate
Also add memory allocation error checks and initialize fluid_tuning_t
after allocation.
2017-11-24 10:51:52 +01:00
Marcus Weseloh
c605380aa8 Remove unused fluid_tuning_set_key and fluid_is_empty 2017-11-24 10:31:02 +01:00
Marcus Weseloh
a1343103f1 run_adding_gain can safely be set while LADSPA is active 2017-11-24 10:22:13 +01:00
Marcus Weseloh
036cb1d347 Remove unused macros from fluid_rev 2017-11-23 11:12:24 +01:00
Marcus Weseloh
58f5b87074 Clarify and cleanup the denormal handling in fluid_rev 2017-11-23 11:12:24 +01:00
Marcus Weseloh
b742b9a58e Remove unused fluid_voice_mix function 2017-11-23 11:12:24 +01:00
Marcus Weseloh
3ec593a6aa Add missing check for memory allocation error on chorus effect 2017-11-23 11:12:24 +01:00
derselbst
7ed5d1f1d8 update docs about upper roomsize threshold 2017-11-22 16:56:51 +01:00
Tom M
eb5945bb2c
make dsound use the desktop window handle (#286)
* Dsound driver is now making use of an already existing window handle: the desktop window
* Removing of fluid_dll.c because it has becoming useless
* avoid a potential deadlock when calling functions within DllMain()
* remove obsolete fluid_set_hinstance() and fluid_get_hinstance() from public API
2017-11-22 16:42:48 +01:00
derselbst
d00dc1c78a correct API doc
fluid_audio_driver_register() is scheduled for 1.1.9
2017-11-22 14:20:25 +01:00
Tom M
e50dd8ed4c
Merge pull request #264 from FluidSynth/register-adriver
support for registering audio drivers based on actual needs
2017-11-22 14:03:52 +01:00
derselbst
1909571de9 update doc of fluidsynth_register_adriver.c 2017-11-22 13:51:18 +01:00
derselbst
c56943cfc6 complete 24bit sample support for sfloader 2017-11-21 21:41:12 +01:00
Marcus Weseloh
88092e8c9d Better documentation and err param handling for fluid_ladspa_check 2017-11-21 09:30:31 +01:00
derselbst
0802fdfe5e use FLUID_STRDUP rather than custom copy 2017-11-21 09:14:19 +01:00
derselbst
45bc334333 add 24 bit sample support to fluid_cached_sampledata_load() 2017-11-21 09:03:12 +01:00
Marcus Weseloh
04285fcf48 Validate params in all public API functions of LADSPA subsystem 2017-11-20 20:35:24 +01:00
Marcus Weseloh
ce8fa7c387 Only include gmodule and define dyn loading macros if LADSPA is enabled 2017-11-20 20:13:25 +01:00
derselbst
c0cd1887db Revert "make dsound driver using the desktop window handle (#269)"
This reverts commit be6e1ab88a. Forgot to take public API HInstance getter/setter into account.
2017-11-20 20:05:02 +01:00