Commit graph

1369 commits

Author SHA1 Message Date
derselbst
4ce0e3eced add unit test README 2018-04-07 19:09:49 +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
Peter Hanappe
17204a26d6 Importing VintageDreamsWaves 2018-04-07 10:45:44 +02:00
derselbst
147dbb2aa1 fix build 2018-04-07 10:45:43 +02:00
derselbst
42a6a2153a add a macro to simplify adding unit tests 2018-04-07 10:45:43 +02:00
derselbst
2fbcd84238 appveyor: build unit tests 2018-04-07 10:45:43 +02:00
derselbst
fdc943b8ad travis: build unit tests 2018-04-07 10:45:43 +02:00
derselbst
bd5b2f9a9c add unit test for sample cache 2018-04-06 22:15:17 +02:00
derselbst
4032ae0a48 cmake: enable testing with ctest 2018-04-06 20:20:07 +02:00
derselbst
3e999c8a3d update API doc about fast file renderer 2018-04-04 18:45:24 +02:00
Tom M
9196636177
Merge pull request #359 from FluidSynth/carlo-bramini-patch-1
No need to use printf, puts is enough
2018-04-01 21:16:36 +02:00
carlo-bramini
8c36d46aa2
No need to use printf, puts is enough 2018-04-01 14:31:50 +02:00
jjceresa
124a5b71bc fix buffer overrun during channel disabled check (#358) 2018-03-30 20:03:15 +02:00
Marcus Weseloh
5001945979
Merge pull request #354 from FluidSynth/fix-sample-fixup
Fix sample check and SF3 soundfont loading
2018-03-25 19:25:54 +02:00
Tom M
d76a23c28d
Merge pull request #355 from carlo-bramini/master
Build fixes and header cleanups.
2018-03-25 19:09:52 +02:00
carlo-bramini
3825d666d8
Build only if DSOUND_SUPPORT is defined 2018-03-25 13:46:30 +02:00
carlo-bramini
1fcf81fbc4
Remove redundant includes
These files are already included by "fluid_synth.h"
2018-03-25 13:44:37 +02:00
carlo-bramini
e1038e253e
Remove redundant includes.
"fluid_synth.h" is already included by "fluid_lash.h".
"fluidsynth_priv.h" already includes all these files, with the conditional inclusion.
2018-03-25 13:40:57 +02:00
carlo-bramini
dfc95bffff
Add conditional inclusion for signal.h
HAVE_SIGNAL_H macro is already handled by CMAKE, but signal.h is not included here (it's required for LASH).
2018-03-25 13:31:35 +02:00
Marcus Weseloh
adff5e98d8 Use goto to move to next sample 2018-03-25 13:27:14 +02:00
Marcus Weseloh
13fb940262 Avoid uninitialized use of max_end 2018-03-25 13:24:24 +02:00
Marcus Weseloh
f5f85a1dfe Fix SF3 soundfont loading (uses byte positions for sample start/end, not sample word positions) 2018-03-24 18:31:33 +01:00
Marcus Weseloh
945214b582 Do explicit check for ROM sample during fixup and check sample end before loop points 2018-03-24 18:23:42 +01:00
Marcus Weseloh
1ec9d85225 Fix sample->valid logic in fluid_sample_import_sfont 2018-03-24 16:02:04 +01:00
Marcus Weseloh
2dc35832fc Remove code that has been commented out since initial commit 2018-03-24 15:56:02 +01:00
Tom M
79971836ee
add style guide related notes to CONTRIBUTING.md
regarding clang-tidy and clang-format
2018-03-24 14:35:52 +01:00
Marcus Weseloh
6bd326dcf8 Move Ogg Vorbis uncompression into separate function 2018-03-23 18:22:56 +01: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
6ddbd846b8 clang-format: don't sort includes 2018-03-22 20:42:23 +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
陈福林
51e8b99a66 fix double free in fluid_midi_router_set_default_rules() (#352) 2018-03-21 10:59:41 +01:00
derselbst
f437662a5e make fluid_audio_callback_t private 2018-03-21 10:49:32 +01:00
derselbst
de58579c72 remove unused fluid_setting hints 2018-03-21 10:40:38 +01:00
derselbst
9fbe106cdf clang-format: add custom allman style
some braces after if / else were not placed correctly before
2018-03-21 10:33:23 +01:00
Marcus Weseloh
b1f7e6d9a0 Bugfix: don't bail out early if single sample has invalid start or end 2018-03-18 14:48:32 +01:00
derselbst
6c2b8e2d88 clarify API docs about fluid_synth_set_midi_router() 2018-03-17 17:55:31 +01:00
derselbst
7238db3615 avoid bad function cast warning 2018-03-17 16:43:45 +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
jjceresa
182e593665 Add profiling command interface (#345)
This patch adds "profiling" commands interface for performance measurement.
Fixes #152
2018-03-12 18:25:16 +01:00
derselbst
1183fbf416 clarify docs of fluid_synth_get_active_voice_count() 2018-03-10 16:44:39 +01:00
derselbst
8ec580f259 remove unused fluid_voice_t::volenv 2018-03-10 16:19:36 +01:00
Tom M
a58bad1ae4
Update CONTRIBUTING.md 2018-03-08 14:01:40 +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
Tom M
657c784dc9
Merge pull request #346 from FluidSynth/ci-build
Additional build tests for CI
2018-03-05 15:37:06 +01:00
Tom M
86b7394994 readme: link build badges to specific builds 2018-03-04 12:00:27 +01:00
derselbst
e04123af51 add build tests to appveyor 2018-03-04 12:00:27 +01:00