Commit graph

65 commits

Author SHA1 Message Date
derselbst
6e3f5ce390 correct API doc of fluid_audio_driver_register() 2018-01-01 18:07:16 +01:00
derselbst
f9ef9eb021 removed strayed '\' 2017-12-31 12:34:37 +01:00
carlo-bramini
cb1e93cd7c Use fluid_msleep() into JACK driver. 2017-12-28 12:28:26 +01:00
Tom M
2d83700dc7
Merge pull request #315 from carlo-bramini/misc-fixes-3
Remove redundant includes and avoid zero-size array if MIDI input unavailable.
2017-12-27 18:04:06 +01:00
carlo-bramini
9c59ad9eb8 Optimize memory usage for fluid_audio_driver_register() (#314) 2017-12-27 17:24:13 +01:00
carlo-bramini
20b7143ba9
Avoid zero-size array if MIDI input unavailable. 2017-12-24 14:55:39 +01:00
carlo-bramini
c6a2b0ceba
Use FLUID_MUTEX_INIT instead of G_STATIC_MUTEX_INIT 2017-12-24 14:46:39 +01:00
carlo-bramini
74122f2d6d
Remove redundant include. 2017-12-24 14:43:06 +01:00
carlo-bramini
806b3d68e1
Check for JACK_SUPPORT 2017-12-24 14:41:39 +01:00
carlo-bramini
771fa8191a
Remove redundant include 2017-12-24 14:39:40 +01:00
derselbst
5e0649158b fix build on macosx
fixes #305
2017-12-15 19:06:43 +01:00
derselbst
c02a5ae5ce remove redundant VERSION macro
use FLUIDSYNTH_VERSION instead
2017-12-09 22:09:24 +01:00
derselbst
a808e28f8b cleanup winmidi driver 2017-12-05 22:57:28 +01:00
carlo-bramini
7be328a357 Simpler implementation of WINMIDI driver. 2017-12-03 19:37:20 +01:00
carlo-bramini
cdfe8d3d7d Include fixes 2 (#296)
Remove redundant includes
2017-12-03 13:12:27 +01:00
Marcus Weseloh
9f579d99f3 Remove callback and data parameters from settings_register_* functions
Callback functions and user data can be set with the previously added
functions. And callbacks are only used in a single place in new_fluid_synth,
all other calls to setttings_register_* set those two params to NULL,
so lets remove them everywhere.
2017-11-30 22:57:19 +01:00
jjceresa
c564fd6d5a Portaudio driver - unique device identification (#289)
Changes the format of portaudio device names to ensure uniqueness of device names.
Without uniqueness of device names the driver was unable to select the device chosen by the user.

Fixes #284.
2017-11-26 13:39:01 +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
Marcus Weseloh
1f4a6008b8 Fix indentation to get rid of GCC "not guarded by if" warnings 2017-11-24 11:29:38 +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
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
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
Tom M
d24c2a1179
Merge branch 'master' into register-adriver 2017-11-20 16:39:15 +01:00
jjceresa
be6e1ab88a make dsound driver using the desktop window handle (#269)
* 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()
2017-11-20 16:33:12 +01:00
carlo-bramini
f9ca336a2d Check if pulse driver is installed and enabled. 2017-11-12 14:56:57 +01:00
derselbst
13728ed0bd update API doc about fluid_audio_driver_register() 2017-11-11 15:27:35 +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
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
derselbst
9b6d3d4c55 support for registering audio drivers based on actual needs 2017-10-30 17:42:37 +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
8f83592b6e fix wrong printf format 2017-10-28 13:36:32 +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
derselbst
db373f168f Merge branch 'fluid_atomic' of git://github.com/VolcanoMobile/fluidsynth into VolcanoMobile-fluid_atomic 2017-10-27 15:58:54 +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
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