Commit graph

1442 commits

Author SHA1 Message Date
paulfd
d6b4678582 Use SFINAE to replace if constexpr 2019-09-20 22:58:26 +02:00
paulfd
40cfc638e9 Used abseil's concatenation for string views 2019-09-20 22:50:34 +02:00
paulfd
27efcd029d Corrected a bug where the Voice would try to read beyond the preloaded data when the background loading thread fails to run in time. This whole logic could probably use an overhaul. 2019-09-20 09:48:57 +02:00
paulfd
d6d7eb73df Corrected a bug where the loading thread would quit on creation due to the order of class member initialization 2019-09-20 09:47:34 +02:00
redtide
960e2e5555 WIP code update. 2019-09-19 16:45:57 +02:00
redtide
7193bba693 Fixing files. 2019-09-19 02:29:43 +02:00
redtide
ca5b08077e Moved filesystem.h in the compat folder with other C++14 compatibility related files, adapted macro, removed unnecessary license header for those files. 2019-09-19 02:24:46 +02:00
redtide
4ae5cbe4d3 Added EditorConfig support. 2019-09-19 02:20:52 +02:00
redtide
024ac4d832 WIP fixes: replace optional, string_view, nullopt with abseil versions, temporary clamp alternative. 2019-09-18 20:33:08 +02:00
redtide
74ff0ea433 Merge remote-tracking branch 'origin/master' into cpp14 2019-09-18 16:20:41 +02:00
redtide
6d1363a9cd Moved benchmark submodule to tag-v1.5.0 (local branch). 2019-09-18 15:08:16 +02:00
redtide
7b79a6dfc9 Moved abseil-cpp submodule to tag-20190808 (local branch). 2019-09-18 15:08:16 +02:00
redtide
2523ba3db0 Updated abseil submodule. 2019-09-18 11:35:51 +02:00
redtide
1b674c7e6a Revert Travis hack. 2019-09-18 11:28:09 +02:00
redtide
c82fac078e Trying Travis badge hack. 2019-09-18 10:24:13 +02:00
redtide
b9980906e2 Trying Travis badge hack. 2019-09-18 10:18:24 +02:00
redtide
77e8694dd0 Trying Travis badge hack. 2019-09-18 10:12:32 +02:00
redtide
080bdf4509
Update README.md 2019-09-18 09:23:29 +02:00
redtide
72c34b6578 Added QtCreator CMake project files to .gitignore. 2019-09-18 09:15:37 +02:00
paulfd
4d70ed5b73 Trying to correct a segfault, some shenanigans with vectors of shared pointers? 2019-09-18 09:14:03 +02:00
paulfd
234105c34c Fixed my assumptions about note-off velocity; they are now always replaced with the previous note-ons 2019-09-18 09:13:41 +02:00
redtide
2d1a4341d7 Added Travis CI configuration. 2019-09-18 09:13:36 +02:00
paulfd
1abfbe695a Merge branch 'cpp14' of https://github.com/paulfd/sfizz into cpp14 2019-09-18 00:14:57 +02:00
paulfd
257764ba35 added the cmake switch 2019-09-18 00:14:40 +02:00
paulfd
cec6b3f3ba Sanitize a bit the submodules and make 3 of them in-tree; abseil and google benchmark left 2019-09-18 00:14:08 +02:00
paulfd
1e7d744460 Clear the remaining files when clearing up the filepool 2019-09-17 22:30:48 +02:00
paulfd
6c70269fcc Added a garbage collection to the file pool. Apparently something in the kernel or in libsndfile is memory-mapping the files, so that the memory usage stays quite high and there are no disk read. But since ASan does not complain, it seems okay... 2019-09-17 20:09:26 +02:00
paulfd
0f58e190d9 Merge branch 'cpp14' of https://github.com/paulfd/sfizz into cpp14 2019-09-17 18:04:03 +02:00
paulfd
a58ba1e766 added the cmake switch 2019-09-17 18:02:45 +02:00
paulfd
b6678113fc Added support for ampersand in sample file names (issue #3) 2019-09-17 18:02:21 +02:00
paulfd
84893a57f9 Revert part of the sustain changes, as it made really no sense :) 2019-09-17 17:57:19 +02:00
paulfd
ad65d8346c added the cmake switch 2019-09-17 14:53:09 +02:00
paulfd
90f61b24fb Some cleanup of the sustain logic 2019-09-17 14:52:47 +02:00
paulfd
de757e0964 Implicit construction in the jack client 2019-09-17 14:52:27 +02:00
paulfd
8fd0924244 Merged PR #1 from falkTX:master 2019-09-16 19:05:04 +02:00
paulfd
8d3e8299dd Merge branch 'master' of https://github.com/falkTX/sfizz into falkTX-master 2019-09-16 19:01:09 +02:00
paulfd
dec1664c2f Added a double atomic guard when changing the sfz file; could be used to change the number of voices too 2019-09-16 18:17:45 +02:00
paulfd
6b21ca4151 Added a reldeb helper script 2019-09-16 16:05:55 +02:00
paulfd
84ff52d0e6 Updated Gitignore 2019-09-16 16:05:55 +02:00
paulfd
a37e0fd71c Cleaned up the voice source fetching 2019-09-16 16:05:55 +02:00
paulfd
49bf4c229f Garbage collection disabled in the jack client (there is a race condition as we have 2 threads and only one atomic protecting the file data, so the garbage collector could clean up the file data before the boolean is set) 2019-09-16 16:05:55 +02:00
paulfd
455075ec64 Corrected a bug when "expanding" an existing preloaded file: the unique_ptr was not released properly 2019-09-16 15:12:15 +02:00
paulfd
e028fdced9 Corrected a bug when reloading files, where the string views used for the FilePool hash table where pointing towards freed memory. 2019-09-16 15:11:15 +02:00
paulfd
5b17f727d8 More clang errors 2019-09-16 15:09:55 +02:00
paulfd
f0782bc8a6 Added garbage collection in jack 2019-09-16 14:51:17 +02:00
paulfd
95c0ac9aa7 Updated gitignore 2019-09-16 14:51:02 +02:00
paulfd
54a6a3fe28 Fix a compilation error in clang 2019-09-16 14:50:21 +02:00
paulfd
057f31752d Added a tracking comment 2019-09-16 14:26:36 +02:00
paulfd
8e02171cb2 Corrected a bug when preloading data for regions with large offsets 2019-09-16 14:25:47 +02:00
paulfd
f41c36d241 Velocity tracking and replacements in note ons and offs are now done at the synth/global level. Velocity is always replaced and checked, since some libraries use "release" along with velocity ranges 2019-09-16 13:17:18 +02:00