Commit graph

184 commits

Author SHA1 Message Date
Paul Ferrand
8872075102 CMake updates to be used as a subdirectory 2019-12-25 22:32:07 +01:00
Paul Ferrand
f7e454dad8 Removed the stupid constexpr 2019-12-23 21:45:17 +01:00
Paul Ferrand
63cdf10a9a Noop 2019-12-23 21:44:59 +01:00
Paul Ferrand
d25d0d5e49 Some more cleanup 2019-12-23 19:26:21 +01:00
Paul Ferrand
a177c5a9c2 Variadic functions in SIMD templates 2019-12-23 19:00:22 +01:00
Paul Ferrand
fa58958dd8 Variadic functions in math helpers 2019-12-23 18:59:33 +01:00
Paul Ferrand
1d73daee68 Redundant inlines 2019-12-23 18:33:22 +01:00
Paul Ferrand
ba4c64adea Readability cleanup 2019-12-23 18:32:42 +01:00
redtide
38b1eaaaa4 Merge branch 'develop' of github.com:sfztools/sfizz into develop 2019-12-23 05:19:55 -08:00
redtide
a3fc603dc7 macOS build support 2019-12-23 05:13:29 -08:00
Paul Ferrand
b69b40734e Plug an lsan leak
Still not sure it's a real leak but let's pay a copy to be certain!
2019-12-23 14:07:19 +01:00
Paul Ferrand
7379ba37c0 The file promise logic actually allocated
Changed to add a pool of "empty" promises, but I
wonder if all of this could be made a bit simpler?
2019-12-23 13:59:43 +01:00
Paul Ferrand
13f9baed33 Added leak detectors on newer objects 2019-12-23 13:58:42 +01:00
Paul Ferrand
68dfadb09e Refactor the filepool a bit 2019-12-23 12:42:33 +01:00
Paul Ferrand
8d3c6d3199 Docs 2019-12-23 12:02:26 +01:00
Paul Ferrand
8e39ffc18e Remove the channels from the inner engine 2019-12-23 01:25:20 +01:00
Paul Ferrand
24f52b255f Properly initialize the atomic guards 2019-12-23 01:15:57 +01:00
Paul Ferrand
0784f8ddcd Corrected bugs in the oversampler 2019-12-23 00:07:10 +01:00
Paul Ferrand
d6136b6bf9 Refactor the filepool loading for streaming 2019-12-22 23:37:57 +01:00
Paul Ferrand
9d53878873 Add a chunkSize config parameter
This is related to file streaming when background loading
2019-12-22 23:37:44 +01:00
Paul Ferrand
68fb7fe0d9 Change the oversampling enum to enum class 2019-12-22 23:37:22 +01:00
Paul Ferrand
9187e0db41 Refactor the oversampling helpers 2019-12-22 23:36:34 +01:00
Paul Ferrand
d813cd8a04 Refactor the Audio buffer and span 2019-12-22 23:35:27 +01:00
Paul Ferrand
528593fa76 Added atomic guards to clear promises
And a specific thread to avoid useless race conditions
2019-12-22 19:12:17 +01:00
Paul Ferrand
d1e031e8e2 Added a method to FilePromise to get a data source 2019-12-22 18:39:05 +01:00
Paul Ferrand
b208d8faca No need for AudioBuffers for intermediate buffers
File reading can use dumb buffers
2019-12-22 11:10:50 +01:00
Paul Ferrand
d6c49ef827 Corrected a bug in the release logic
The correct check was that the remaining delay is strictly more than 0, and added a max for good measure.
2019-12-22 10:45:25 +01:00
Paul Ferrand
ca7c4f2939 Removed seemingly redundant casts 2019-12-22 01:12:49 +01:00
Paul Ferrand
92aaa2a17e Added proper support for off_modes 2019-12-21 21:24:49 +01:00
Paul Ferrand
ed7d5369a7 Added note_offset and octave_offset 2019-12-21 18:57:32 +01:00
Paul Ferrand
8bc0a9c2f5 Clear the default path on a new control header 2019-12-21 18:20:04 +01:00
Paul Ferrand
8d2be44c57 Change default_path to handle partial paths 2019-12-21 17:37:09 +01:00
Paul Ferrand
68bf0b132d Releasing in the initial delay kills the voice 2019-12-21 15:32:38 +01:00
Paul Ferrand
8ceb5f3b48 Passing -1 to hikey works properly
Disables the key matching and enables CC matching
2019-12-20 01:59:06 +01:00
Paul Ferrand
3709c4065f amp_random is only between 0-24 dB 2019-12-20 01:11:46 +01:00
Paul Ferrand
89a305075b Cosmetics 2019-12-20 00:59:02 +01:00
Paul Ferrand
861ca52a1c Docs on the parsing functions 2019-12-20 00:59:02 +01:00
Paul Ferrand
b06724ce01 Fix builds on non-SSE platforms 2019-12-19 19:14:48 +01:00
Paul Ferrand
207e45cee9 Updated the CMake file to remove RE2 2019-12-18 10:29:48 +01:00
Paul Ferrand
006e5b33b5 Removed the regexes 2019-12-18 10:29:33 +01:00
Paul Ferrand
c16936e225 Moved the parsing functions to SfzHelpers 2019-12-18 10:03:07 +01:00
Paul Ferrand
3c9f84adb3 Changed the signature of findDefine() 2019-12-18 09:51:18 +01:00
Paul Ferrand
2fd68e00b6 Removed all regexes.. 2019-12-18 04:33:45 +01:00
Paul Ferrand
254ded584f Trying out re2 2019-12-18 03:14:58 +01:00
Paul Ferrand
8a85e2672a Explicitely cast to floats 2019-12-18 00:27:13 +01:00
Paul Ferrand
b2862c9088 Avoid a promotion to double 2019-12-18 00:26:55 +01:00
Paul Ferrand
7991567bda Corrected a bug on the SIMD panning process 2019-12-18 00:22:09 +01:00
Paul Ferrand
a966020c73 Removed an unnecessary copy 2019-12-18 00:20:09 +01:00
Paul Ferrand
5f891ddacf WIP on segfault with Unruly Drums + Carla
The bug appears "sometimes" on construction of headerIterator.
The regex engine is deeply nested at this point.
2019-12-17 23:29:26 +01:00
Paul Ferrand
0f5fe04168 Removed an unnecessary reset() 2019-12-17 23:22:48 +01:00