Tom M
c04acc653e
Use pkgconfig to find SDL2 ( #524 )
2019-04-06 09:10:50 +02:00
Atsushi Eno
daa037b0d3
Add Android audio drivers based on OpenSLES and Oboe ( #464 )
...
This set of changes implements audio drivers for Android, OpenSLES and Oboe. The changes in the original sources are kept minimal so that it should be easily maintained.
2019-03-27 18:02:23 +01:00
derselbst
0cd44d00e1
Merge branch '2.0.x' into master
2019-03-02 10:23:13 +01:00
Florian Léger
099369f8b7
Improve systemd integration
...
When fluidsynth is run as a service using systemd, make sure
the service is considered started only when it is ready to process events.
In order to do so:
- Add an optional runtime dependency to libsystemd to the fluidsynth executable
- Change the systemd service type to "notify"
- Have fluidsynth notify systemd that the service is started after the server is started
- Have fluidsynth notify systemd that the service is stopping after joining the server thread
2019-03-02 10:18:32 +01:00
derselbst
96e43ec72c
Merge branch '2.0.x' into master
2019-02-17 09:00:32 +01:00
derselbst
52cd3338ac
re-enable Network Support on Darwin
2019-02-10 08:37:40 +01:00
derselbst
c096c54cb6
Merge branch '2.0.x' into master
2019-02-09 09:52:53 +01:00
derselbst
551d6495df
cmake: correctly query for glib version
2019-02-08 19:59:46 +01:00
derselbst
851a26fff1
bump to 2.0.4
2019-02-08 17:39:12 +01:00
derselbst
aa65624f8c
Merge branch '2.0.x' into master
2019-02-07 08:55:24 +01:00
derselbst
b6a5c5f570
avoid using g_stat on windows if glib < 2.26
...
Closes #452 .
2019-02-03 19:45:51 +01:00
Tobias Kortkamp
ff6377a3bd
Address comments from #472
...
Resolves #508 .
Signed-off-by: Tobias Kortkamp <t@tobik.me>
2019-02-03 11:09:08 +01:00
Yuri
22dd94fc5c
FreeBSD compatibility patch upstream from the port
2019-02-03 11:06:17 +01:00
derselbst
8b1820580b
Merge branch '2.0.x'
2018-12-30 12:42:30 +01:00
derselbst
1bae9b2fe1
bump to version 2.0.3
2018-12-30 12:42:00 +01:00
derselbst
6d981aedfe
Merge branch '2.0.x' into master
2018-12-22 16:08:54 +01:00
derselbst
06ec2d4e67
Revert "remove unused io.h include"
...
This reverts commit cb485806c3
. Fixes #491 .
2018-12-22 16:04:49 +01:00
derselbst
2cef5b0587
Merge branch 'master' into 2.1-testing
2018-12-19 14:22:40 +01:00
derselbst
cb485806c3
remove unused io.h include
2018-12-14 17:50:03 +01:00
derselbst
73689925da
disable clang-tidy for normal builds
...
It may cause errors when cross compiling. Keep it for profiling builds
though.
Fixes #475 .
2018-12-14 17:49:49 +01:00
carlo-bramini
978283bbf0
Add Sdl2 driver ( #478 )
2018-12-14 16:43:35 +01:00
carlo-bramini
cfe2d158f4
Add WaveOut driver ( #466 )
2018-12-01 15:04:26 +01:00
derselbst
f52e4fdf39
update documentation for enable-threads
2018-11-18 09:45:28 +01:00
derselbst
eb22cfbdbb
bump to version 2.0.2
2018-11-18 09:39:09 +01:00
carlo-bramini
fe92a0a655
Introduce enable-threads option to cmake ( #463 )
2018-11-18 08:55:52 +01:00
carlo-bramini
a1affca2ca
Use "enable-network" instead of NETWORK_SUPPORT
2018-10-27 10:11:28 +02:00
carlo-bramini
02d7ab6939
Fix "-mms-bitfields" option.
2018-10-26 19:49:27 +02:00
carlo-bramini
2ffad4dd2c
Add options for Windows drivers
2018-10-26 19:48:01 +02:00
derselbst
0f11c9a0da
bump to 2.0.1
2018-10-07 14:47:07 +02:00
derselbst
457edfcdda
fix build for cmake < 3.3
...
CMP0063 hasnt been introduced yet
2018-09-18 17:34:10 +02:00
derselbst
f0f9ebeefb
remove -Wno-cast-qual flag
2018-08-23 14:16:35 +02:00
Tom M
c8056ee002
Merge branch 'master' into test-flag
2018-08-08 20:13:39 +02:00
Tom M
75db4f31b3
WinXP compatible CI builds ( #419 )
...
attempt to remain windows xp compatibility for AppVeyor CI builds and statically link MSVC's C Run-Time Library
2018-08-08 20:12:37 +02:00
derselbst
908aaeb5cc
cmake: setup linker directories before creating target
2018-08-07 15:19:05 +02:00
derselbst
521e5451fc
remove cmake option enable-tests
...
Always build unit tests instead and use cmakes OBJECT library to bypass visibility control and the value of BUILD_SHARED_LIBS.
2018-08-05 20:50:41 +02:00
derselbst
90c2d76709
cmake: setup formatting targets
...
for clang-tidy and astyle + minor formatting adjustments to clang-format config
2018-06-24 12:59:46 +02:00
derselbst
c43bb5d505
set CMAKE_C_FLAGS rather than build type specific ones
2018-06-02 13:23:50 +02:00
Tom M
f1384f03d9
Merge branch 'master' into rvoice-align
2018-05-11 16:53:42 +02:00
derselbst
d8f46f2bae
remove unused vars, clarify comments
2018-05-05 15:17:09 +02:00
derselbst
a153d0ad73
no need to link against openMP
2018-05-04 20:07:06 +02:00
derselbst
7fba85296b
fix compilation with intel compiler
...
by adding -restrict compile flag
2018-05-04 20:05:45 +02:00
Tom M
05c2d57e65
Merge pull request #372 from FluidSynth/rvoice-refactor3
...
rvoice_mixer refactorings + cleanups
2018-05-02 20:51:53 +02:00
derselbst
edd52edac2
consistently use signed int for sfont_id, bank_num and preset_num
2018-04-30 10:09:48 +02:00
derselbst
e229f62020
cmake: detect openMP
2018-04-26 16:25:18 +02:00
derselbst
384f05e77c
disable padding warnings
2018-04-25 17:28:37 +02:00
Marcus Weseloh
f52bbf53a4
Add VintageDreamsWaves-v2 in SF3 format and some tests for sf3 loading
2018-04-18 09:14:55 +02:00
derselbst
cb35fac1c6
make VintageDreams sf2 an explicit requirement for unit tests
2018-04-11 11:03:12 +02:00
derselbst
de68492710
add cmake option enable-tests
...
forces a static build and sets up test env
2018-04-07 10:45:44 +02:00
derselbst
42a6a2153a
add a macro to simplify adding unit tests
2018-04-07 10:45:43 +02:00
derselbst
4032ae0a48
cmake: enable testing with ctest
2018-04-06 20:20:07 +02:00
derselbst
4fd56639fa
fix build for clang-tidy >= 5.0
2018-03-22 21:51:46 +01:00
derselbst
2099dae4f6
remove custom clang-format and clang-tidy scripts
...
everything is now handled by cmake
2018-03-22 20:48:15 +01:00
derselbst
d16ca62465
use cmake to specify C standard explicitly
2018-03-22 20:42:03 +01:00
derselbst
a62bf97d76
add cmake targets for clang-tidy and clang-format
2018-03-22 20:40:54 +01:00
derselbst
94316addcf
fix build
...
midishare complaining libs not found
2018-03-17 16:40:51 +01:00
derselbst
57c7e3d3a6
cmake: fix enable-midishare option
2018-03-17 13:08:19 +01:00
Sayfulin Aleksandr
98e976a9cc
cmake: enable/disable OSS support ( #350 )
...
Add a cmake option for OSS support and sort options alphabetically.
2018-03-17 12:48:14 +01:00
Christophe Giboudeaux
ce00c35012
Fix pkgconfig file for absolute paths ( #347 )
...
When building fluidsynth, we can use relative or absolute paths for LIB_INSTALL_DIR and INCLUDE_INSTALL_DIR. Check whether the two vars were defined absolute before writing fluidsynth.pc.
Fixes https://bugzilla.opensuse.org/1084081
2018-03-06 17:21:15 +01:00
derselbst
57eceee073
remove obsolete cmake option enable-ladcca
2018-03-03 19:46:07 +01:00
derselbst
b3ac209d21
remove redundant cmake header install directives
2018-02-22 17:16:57 +01:00
derselbst
aa3703b2e3
add systemd service files
...
to enable running fluidsynth as user service. Fixes #342
2018-02-20 21:31:35 +01:00
derselbst
f125e8a9c6
do not add LIB_SUFFIX if LIB_INSTALL_DIR set manually
2018-02-20 17:05:42 +01:00
derselbst
a69db1a74e
remove useless HAVE_CONFIG_H
2018-02-20 12:48:57 +01:00
derselbst
4ad3aa2307
fix build of downstream apps for static fluidsynth lib
...
fixes #341
2018-02-20 12:44:30 +01:00
Tom M
28a794a61c
Merge pull request #339 from stekyne/msvc_library_prefix_fix
...
Minor cmake adjustments for MSVC builds to enable building fluidsynth as vcpkg package
2018-02-12 09:44:44 +01:00
Stephen Kyne
3acf461346
Remove debug postfix for MSVC build
2018-02-11 16:07:38 +00:00
Tom M
4a0a7365ee
Refactor Soundfont loader API ( #334 )
...
* add fluid_mod_sizeof() and fluid_sample_sizeof() for low latency scenarios
* fix return value of default_fclose
* enable padding warnings for cmake enable-profiling=1
* make these types private:
* struct _fluid_sfloader_t
* struct _fluid_sample_t
* struct _fluid_sfont_t
* struct _fluid_preset_t
...and provide proper getter and setter functions
2018-02-11 16:56:53 +01:00
Stephen Kyne
f8470affc5
No longer prefix the lib folder for MSVC builds
2018-02-07 21:06:41 +00:00
derselbst
f3903d1a2f
add support for intel compiler
2018-01-03 16:41:32 +01:00
derselbst
df6fad7d83
output optimization report if enable-profiling=1
2018-01-03 16:40:53 +01:00
carlo-bramini
8025f788d3
Disable network at compile time (option) ( #307 )
2017-12-17 10:25:54 +01:00
Tom M
ea8ac50333
Merge branch 'master' into cleanup3
2017-12-07 17:11:35 +01:00
Marcus Weseloh
8525e420b0
Allow overwriting the compile-time flags for gcc/clang.
2017-12-02 17:38:41 +01:00
derselbst
c7675a8269
bump version to 2.0
2017-11-30 13:25:40 +01:00
Tom M
a7fe5c4257
Merge pull request #283 from FluidSynth/ladspa
...
Polishing of LADSPA subsystem
2017-11-25 11:45:49 +01:00
Marcus Weseloh
89646783d1
Only require gmodule if LADSPA is enabled
...
Also remove the now unused libdl support, as it was only used by LADSPA,
which has been changed to use gmodule instead.
2017-11-19 21:45:00 +01:00
Fabian Greffrath
6900d19eaf
do not set the library directory suffix when building with MinGW
...
This is another patch from MSYS2: Omit the library directory suffix
when building with MinGW for Windows.
2017-11-17 22:15:46 +01:00
Tom M
415fdbd89b
Merge pull request #275 from carlo-bramini/cmake-win32-1
...
Improvements to cmake for win32 and other bits.
2017-11-15 10:56:58 +01:00
carlo-bramini
acf2395a41
Revert "Use alloca()/_alloca() on C89/C90 compilers without VLA"
...
This reverts commit b8766aef67
.
2017-11-14 23:11:23 +01:00
Tom M
bae405edcb
avoid cmake warning CMP0054
2017-11-14 12:40:06 +01:00
carlo-bramini
b8766aef67
Use alloca()/_alloca() on C89/C90 compilers without VLA
2017-11-12 16:16:34 +01:00
carlo-bramini
582d316f9f
Remove obsolete config_win32.h
2017-11-12 13:24:36 +01:00
Marcus Weseloh
9509628da1
Use glib dynamic librar loading functions
2017-11-12 00:53:57 +01:00
derselbst
3eca83a887
cmake: enable ladspa by default
2017-11-10 19:00:53 +01:00
carlo-bramini
90b0352343
Restore chmod 644 to CMakeList.txt
2017-11-04 13:17:40 +01:00
carlo-bramini
4ee44a24a5
Use stdint type names instead of sint8, sint16, etc
2017-11-04 12:53:44 +01:00
derselbst
c7b9bae1e3
always export cmake compile commands
...
to allow using clang-tidy
2017-10-27 19:40:40 +02:00
derselbst
7e2ea5c85d
use UBSan for debug builds
2017-10-19 21:12:08 +02:00
derselbst
61c81d06a5
bump version to 1.1.8
2017-10-12 17:15:27 +02:00
KO Myung-Hun
0130cbdd4d
Remove ${} from CMAKE_SYSTEM variable in IF statement
...
IF statement interprets a variable without ${}.
And without this, CMAKE_SYSTEM is not checked correctly on CMAKE 3.4.1.
Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:47:33 +02:00
KO Myung-Hun
ae6d1dd8ba
Remove -fvisibility=hidden flag on OS/2
...
On OS/2, -fvisibility=hidden is ignored.
Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:47:25 +02:00
KO Myung-Hun
d495b0cfc2
Disable IPv6 on OS/2
...
OS/2 does not support IPv6, yet.
Signed-off-by: derselbst <tom.mbrt@googlemail.com>
2017-10-06 12:44:51 +02:00
derselbst
0e2e67d6f5
fix dsound audio driver on windows
...
addresses #215
2017-10-01 10:17:22 +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
b97d74ad90
stop unrolling all loops
...
let the compiler decide
2017-09-17 19:36:20 +02:00
derselbst
191f32d524
cmake: fix "tarball" target
2017-09-17 17:50:09 +02:00
derselbst
3d7541f191
cmake: remove target "tarball-autotools"
2017-09-17 17:45:01 +02:00
derselbst
9773bb287d
Merge branch 'master' into cmake_clang
2017-09-17 11:02:20 +02:00
derselbst
34f5a14df3
remove deprecated LADCCA support
2017-09-15 11:11:09 +02:00
derselbst
961ceea31e
cmake: correct path to README and LICENSE
2017-09-03 13:34:00 +02:00
derselbst
aac2354f5c
remove fop-level "fluidsynth" directory node
...
cd fluidsynth && git mv * ../
2017-09-03 13:30:26 +02:00