Commit graph

156 commits

Author SHA1 Message Date
Tom M
2a4b2084f1
Merge pull request #330 from FluidSynth/api-clean
remove unused API functions
* fluid_synth_set_gen2()
* fluid_cmd_handler_register()
* fluid_cmd_handler_unregister()
* fluid_cmd_t
2018-01-27 14:34:09 +01:00
derselbst
94b26e6365 adjust signature of fluid_settings_getstr_default()
for consistency
2018-01-26 20:32:09 +01:00
derselbst
297372d6d9 rename GEN_BALANCE to GEN_CUSTOM_BALANCE 2018-01-25 20:39:11 +01:00
derselbst
5f8fabb651 remove fluid_cmd_handler_register() from public API
as well as fluid_cmd_handler_unregister() and fluid_cmd_t
2018-01-18 20:39:45 +01:00
derselbst
fe19ce0c24 remove fluid_synth_set_gen2() from public API 2018-01-18 20:24:58 +01:00
Marcus Weseloh
8f9b89588a Add support for channel balance control (CC 8) 2018-01-04 00:54:29 +01:00
derselbst
a4b7bf0c6f fix typo in API docs 2017-12-31 12:37:28 +01:00
derselbst
e159fa0225 fix build 2017-12-27 17:59:59 +01:00
derselbst
5f45c6d97b Revert "make fluid_midi_parser_parse() public"
This reverts commit 4568e551b9. Would allow fluidsynth to be abused as midi parser.

Closes #150
2017-12-21 14:52:06 +01:00
derselbst
a9a9eb5b8c Revert "add missing API comment to fluid_midi_parser_t"
This reverts commit 67e87cffad.
2017-12-21 14:51:55 +01:00
derselbst
8ebb2495c5 make sure doxygen recognizes struct _fluid_sfont_t 2017-12-16 22:42:50 +01:00
derselbst
67e87cffad add missing API comment to fluid_midi_parser_t 2017-12-16 15:24:23 +01:00
derselbst
4568e551b9 make fluid_midi_parser_parse() public
to enable realtime byte to fluid_midi_event_t parsing

fixes #108
addresses #150
2017-12-16 15:08:47 +01:00
Tom M
a82ddb8d08
Merge branch 'master' into sm24 2017-12-13 20:12:47 +01:00
Tom M
deb0658205
add support for lyrics and text midi events (#299)
* partly applied karaoke patch from ticket #111
* allow MIDI_SET_TEMPO in playback_callback
2017-12-11 19:35:07 +01:00
derselbst
84124e3230 doc the DOCMEs 2017-12-10 17:31:11 +01:00
derselbst
0619f103ea update API docs about 24bit sample support 2017-12-09 17:50:06 +01:00
derselbst
7de0e02a82 Merge branch 'master' into sm24 2017-12-07 18:58:12 +01:00
derselbst
a4e43d3543 re-introduce fluid_synth_set_gen2()
to reduce API breakage
2017-12-06 12:18:06 +01:00
derselbst
38fc7fb027 reorder public fluid_voice declarations 2017-12-04 20:42:01 +01:00
derselbst
82450e0ee1 remove FLUID_NUM_MOD macro from public API 2017-12-03 18:39:24 +01:00
derselbst
68d812ae30 remove *_LAST enum values from public API doc
addresses #186
2017-11-30 13:18:38 +01:00
derselbst
8fca88942d Merge branch 'master' into sm24 2017-11-29 10:03:42 +01:00
derselbst
5bc1f57ec5 mention ladspa functions in API docs 2017-11-27 18:30:20 +01:00
derselbst
73806d653c remove orphaned fluid_synth_set_midi_router() decl. 2017-11-27 18:04:21 +01:00
derselbst
c5cdcb8eda remove deprecated fluid_synth_reset_tuning() 2017-11-27 18:01:19 +01:00
derselbst
70a1c82a5e remove deprecated fluid_synth_select_tuning() 2017-11-27 18:00:50 +01:00
derselbst
0bb8726583 remove deprecated fluid_synth_create_octave_tuning() 2017-11-27 17:56:03 +01:00
derselbst
7140e971ec remove deprecated fluid_synth_create_key_tuning() 2017-11-27 17:52:58 +01:00
derselbst
62df9178ae remove deprecated fluid_synth_get_channel_info()
it provided functionality in between of fluid_synth_get_program() and fluid_synth_get_channel_preset(), which however was not visible from the user perspective
2017-11-27 17:49:10 +01:00
derselbst
9f366f3320 move SAMPLETYPE macros to enum 2017-11-27 17:38:33 +01:00
derselbst
4d65e07156 get rid of redundant fluid_sample_refcount macro
and access field directly
2017-11-27 17:27:37 +01:00
derselbst
4776b7e407 remove macro fluid_sfont_get_id() from public API 2017-11-27 17:19:29 +01:00
derselbst
52872305f2 move FLUID_NUM_MOD to public voice header 2017-11-27 17:11:06 +01:00
derselbst
9900d5f151 rename fluid_mod_new|delete() to match naming conventions 2017-11-27 16:58:27 +01:00
derselbst
3b1a4ccad0 clarify API doc of fluid_synth_add_sfloader() 2017-11-27 14:41:26 +01:00
derselbst
332c221cfb update docs about file callback struct 2017-11-26 09:29:35 +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
b334ba3f8f update API doc about fluid_sfloader_t::free() 2017-11-25 22:54:20 +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
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
mikelow
1e65ba1a49 add fluid_file_callbacks struct to fluid_defsfont
to perform file operations through callbacks
2017-11-25 20:35:42 +01:00
Tom M
a7fe5c4257
Merge pull request #283 from FluidSynth/ladspa
Polishing of LADSPA subsystem
2017-11-25 11:45:49 +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
Tom M
d24c2a1179
Merge branch 'master' into register-adriver 2017-11-20 16:39:15 +01:00
Marcus Weseloh
79c32301f2 Move fluid_synth_get_ladspa_fx to synth, typedef to types. 2017-11-19 14:29:32 +01:00
Marcus Weseloh
e511992680 Expose LADSPA functions via public API
Always compile in fluid_ladspa.h and c to that the LADSPA API functions
are always exposed, but use dummy functions that return failure (NULL,
FLUID_FAILED or FALSE) if LADSPA isn't available.
2017-11-18 20:48:30 +01:00
derselbst
1815ca880f Merge branch 'master' into sm24 2017-11-15 21:01:34 +01:00
derselbst
d4b86051ba update doc for fluid_seq_id_t 2017-11-11 14:45:06 +01:00
derselbst
52b892c534 consistently use fluid_seq_id_t for new API
ABI breaking change
2017-11-11 12:18:09 +01:00
derselbst
696c736b2f introduce separate type for client IDs 2017-11-11 12:14:13 +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
987aa33486
Merge pull request #263 from FluidSynth/rm-def-mod
support removing default modulators
2017-11-10 16:41:56 +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
Tom M
91a63595f4
Merge pull request #261 from VolcanoMobile/player_seek
add seek to player
2017-11-07 11:34:15 +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
681f62ce4d fix conflicting declarations
fix build
2017-10-30 11:53:02 +01:00
loki666
6c8a72fa0a add seek to player 2017-10-30 10:53:45 +01:00
derselbst
0ac6209356 Merge branch 'master' into sm24 2017-10-28 16:23:24 +02:00
carlo-bramini
36f0ecb12a MSVC6 is the latest version not supporting deprecated declpec 2017-10-24 20:31:56 +02:00
carlo-bramini
9be61b5cd4 'deprecated' is not supported on MSVC6. 2017-10-22 19:10:41 +02:00
derselbst
c10b0db8b4 apply FLUID_DEPRECATED for public synth functions 2017-10-19 22:53:28 +02:00
derselbst
e59c4e77ab add FLUID_DEPRECATED 2017-10-19 22:41:13 +02:00
derselbst
f63b26748f update doc for fluid_synth_set_channel_type() 2017-10-12 12:05:02 +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
daf85aec02 Merge branch 'master' into sm24 2017-10-07 15:31:01 +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
6531bebbfe remove struct fluid_cmd_handler_t from public API 2017-10-07 11:47:22 +02:00
derselbst
8fd8a75b9f parse sm24 chunk 2017-10-07 11:34:53 +02:00
derselbst
e36e39249b update API docs for new chorus/reverb setters 2017-10-06 10:59:41 +02:00
derselbst
f4a3c7302e avoid midi_router cmd conflicts
if multiple cmd handlers are used + fix build
2017-10-03 21:42:36 +02:00
derselbst
c8007e655b add individual chorus setters to synth API 2017-10-03 21:12:35 +02:00
derselbst
77749637d2 add individual reverb setters to synth API 2017-10-03 20:17:48 +02:00
Bernat Arlandis i Mañó
3c14435a8c Command handler decoupled. Moved config file loading after starting everything. 2017-10-02 18:25:58 +02:00
derselbst
44b7dbc13c Revert "minor cleanup for fluid_synth API"
This reverts commit 201aa5e0d4. Merging functions for different usecases was a bad idea.
2017-09-24 14:46:35 +02:00
derselbst
94d436ae0b add reserved space to struct _fluid_synth_channel_info_t 2017-09-23 11:02:29 +02:00
Tom M
2a3ff1d2cf Merge pull request #207 from FluidSynth/cleanup
source code cleanup, API compatibility broken
2017-09-22 14:10:38 +02:00
derselbst
87f2ab13e7 cleanup public generator API
move fluid_gen_set_default_values(), enum fluid_gen_flags and struct _fluid_gen_t to private header because no other public function seems to need fluid_gen_t
2017-09-22 11:45:06 +02:00
derselbst
118d24bd3e partly revert a89ed74537 2017-09-21 10:56:55 +02:00
derselbst
5da9451321 move struct _fluid_mod_t to private header 2017-09-21 10:52:48 +02:00
derselbst
4911138eb0 deprecate struct _fluid_mod_t 2017-09-21 09:59:15 +02:00
derselbst
24143ee02d replace fluid_synth_set_gen with fluid_synth_set_gen2 2017-09-20 21:05:13 +02:00
derselbst
e797853b2b refactor fluid_settings API
consistently return either FLUID_OK or FLUID_FAILED for public fluid_settings_* functions
2017-09-20 14:27:36 +02:00
derselbst
b71f474afa make fluid_preset_t::get_name() const correct 2017-09-20 12:55:55 +02:00
derselbst
201aa5e0d4 minor cleanup for fluid_synth API
remove deprecated fluid_synth_get_channel_preset() and fluid_synth_get_program() and fuse their functioning together into fluid_synth_get_channel_info()
2017-09-19 16:32:20 +02:00
derselbst
380f4a56e3 move FLUID_INTERP_* macros to enum 2017-09-16 22:13:51 +02:00
derselbst
026d74f125 use doxygen aware "note" 2017-09-16 17:39:53 +02:00
derselbst
53fd1eeac7 remove deprecated fluid_settings_getstr() 2017-09-16 17:30:57 +02:00
derselbst
b44fb5c229 remove deprecated FLUID_HINT_INTEGER 2017-09-16 17:14:04 +02:00
derselbst
3939941c5f remove deprecated autotools build system 2017-09-15 11:29:57 +02:00
derselbst
3c17868ba3 remove misspelled FLUID_SEQ_PITCHWHHELSENS macro 2017-09-15 11:05:29 +02:00
derselbst
1d1208efd9 remove redundant DOCME 2017-09-15 10:59:22 +02:00