Commit graph

2611 commits

Author SHA1 Message Date
JP Cimalando
dfe559b51e
Merge pull request #493 from jpcima/ci-nproc
Set a fixed number of parallel tasks
2020-10-12 21:14:29 +02:00
Jean Pierre Cimalando
5e84f29e59 Set a fixed number of parallel tasks 2020-10-12 21:01:28 +02:00
JP Cimalando
dd0b4f3686
Merge pull request #492 from jpcima/ui-refresh
Prevent the editor from refreshing constantly
2020-10-12 17:14:01 +02:00
JP Cimalando
728e2ca510
Merge pull request #491 from jpcima/no-static-install
Do not install the static library, only shared with pkgconfig
2020-10-12 17:05:39 +02:00
JP Cimalando
0c9aa89419
Merge pull request #490 from atsushieno/patch-1
Fix build on Android 32-bit arm: hardfp is not available
2020-10-12 16:54:51 +02:00
Jean Pierre Cimalando
1e8b36c14d Do not install the static library, only shared with pkgconfig 2020-10-12 16:37:22 +02:00
Jean Pierre Cimalando
e2dc18deb6 Prevent the editor from refreshing constantly 2020-10-12 16:01:50 +02:00
Jean Pierre Cimalando
ba2f8ab97f Allow Vstgui to link on MSYS MinGW where find_library fails 2020-10-12 15:17:17 +02:00
Atsushi Eno
777bcf7b17
Fix build on Android 32-bit arm: hardfp is not available
context: d783ba6c87 (r43170024)

This fixes build errors like this on Android 32-bit arm architecture:
`error: lv2/CMakeFiles/sfizz_lv2.dir/sfizz.c.o uses VFP register arguments, output does not`
2020-10-12 21:47:48 +09:00
JP Cimalando
b1345ab246
Merge pull request #489 from jpcima/vstgui-xdnd
Implement the file drag and drop for X11
2020-10-11 22:14:44 +02:00
Jean Pierre Cimalando
54b24f7cd1 Update the Vstgui source list (win32) 2020-10-11 21:38:31 +02:00
Jean Pierre Cimalando
ecc223947c Link Vstgui to Glib on X11 2020-10-11 21:33:26 +02:00
Jean Pierre Cimalando
9386cd3336 Implement the file drag and drop for X11 2020-10-11 21:12:59 +02:00
JP Cimalando
3d8fc0c787
Merge pull request #488 from jpcima/eliminate-warnings
Eliminate warnings
2020-10-10 17:34:11 +02:00
Jean Pierre Cimalando
7a39d6c7cf Eliminate more warnings from Steinberg VST 2020-10-10 17:15:45 +02:00
Jean Pierre Cimalando
191a232327 Eliminate a warning with win32 format 2020-10-10 17:13:04 +02:00
Jean Pierre Cimalando
c17a3f8554 Eliminate -Wparentheses in LV2 2020-10-10 16:44:11 +02:00
Jean Pierre Cimalando
0f426786d2 Update vstgui to eliminate the CRect warning 2020-10-10 16:41:50 +02:00
Jean Pierre Cimalando
6af2bc5bc0 Remove some functions no longer used 2020-10-10 16:17:01 +02:00
Jean Pierre Cimalando
68d4e65ea5 Locally ignored "-Wmultichar" not working on gcc, make global 2020-10-10 16:15:41 +02:00
Jean Pierre Cimalando
80ee358523 Fix the class-memaccess warning 2020-10-10 03:07:07 +02:00
Jean Pierre Cimalando
f333013dff Eliminate a few warnings 2020-10-10 02:43:27 +02:00
Jean Pierre Cimalando
b27a509aa9 Define the build options before including SfizzConfig 2020-10-09 14:37:04 +02:00
JP Cimalando
7e0d964606
Merge pull request #487 from jpcima/vcpkg-fast
Do not force a vcpkg update
2020-10-09 14:34:15 +02:00
Jean Pierre Cimalando
aea430cbfd Do not force a vcpkg update 2020-10-09 13:55:53 +02:00
JP Cimalando
2917a9fb4c
Merge pull request #486 from jpcima/contributors
Removal of redundant information [ci skip]
2020-10-08 14:11:37 +02:00
Jean Pierre Cimalando
a3238f27c1 Removal of redundant information [ci skip] 2020-10-07 20:16:32 +02:00
Jean Pierre Cimalando
a16a835850 Add @atsushieno to the list of contributors 2020-10-07 19:47:29 +02:00
JP Cimalando
0fb8abdf44
Merge pull request #484 from atsushieno/patch-1
accept samplesPerBlock up to 8192 (inclusive)
2020-10-07 19:45:16 +02:00
Atsushi Eno
b76a1c50a3
accept samplesPerBlock up to 8192 (inclusive)
`ASSERT(samplesPerBlock < config::maxBlockSize)` (where `maxBlockSize` is 8192) means 
we cannot set 8192. But we don't want 8191 as the actual maximum size.
2020-10-08 02:10:00 +09:00
JP Cimalando
62046e9e8e
Merge pull request #479 from jpcima/map-cc11
Map CC11 expression
2020-10-07 15:35:20 +02:00
JP Cimalando
ebc47e2c48
Merge pull request #480 from jpcima/file-data-copy-delete
Fix a compilation warning, about FileData not copyable
2020-10-07 14:45:05 +02:00
Jean Pierre Cimalando
3aeb96d3b2 Fix a compilation warning, about FileData not copyable 2020-10-07 14:41:16 +02:00
Jean Pierre Cimalando
162673939a Map CC11 expression 2020-10-07 14:36:27 +02:00
Paul Ferrand
b9f58f1fe4
Merge pull request #477 from paulfd/overflow-voices
Overflow voices
2020-10-07 14:32:05 +02:00
Paul Ferrand
2fc6aab964
Merge pull request #425 from paulfd/simpler-file-loading
Changes to the background loading
2020-10-07 13:57:03 +02:00
Paul Ferrand
b87592958e
Merge pull request #478 from paulfd/cutoff-clamp
Clamp the cutoff values to avoid filters blowing up
2020-10-07 13:41:21 +02:00
Paul Ferrand
54d2b7342c Clamp the cutoff values to avoid filters blowing up 2020-10-07 13:19:07 +02:00
Paul Ferrand
f9178d41aa Remove the renderVoiceToOutput method and add a missing comment 2020-10-07 09:08:01 +02:00
Paul Ferrand
81fe043bb3 No need to ramp out killed voice data 2020-10-07 09:01:48 +02:00
Paul Ferrand
b78fa39d9e Remove unused variable 2020-10-07 00:51:18 +02:00
Paul Ferrand
a0ad3b9921 Adapt the thread pool to the number of concurrent threads 2020-10-07 00:37:31 +02:00
Paul Ferrand
1e2ae6bce7 Unused variable and a wrong name 2020-10-07 00:37:31 +02:00
Paul Ferrand
d35ff4eb42 Add a volatile on the stop flag in the thread pool 2020-10-07 00:37:31 +02:00
Paul Ferrand
a505b9f037 gcc 4.9 idiosyncrasies 2020-10-07 00:37:31 +02:00
Paul Ferrand
9e0a1dff72 Add constructors to the QueuedFileData
Honestly a stupid queue would be fine at this point
2020-10-07 00:37:31 +02:00
Paul Ferrand
e693e82a39 The dispatcher was not spinning 2020-10-07 00:37:31 +02:00
Paul Ferrand
8ee4105b39 Deep change of the background loadingThe goal was to reduce the number of background threads in big sessions (multiple instances) and avoid loading the same file alot on repeated notes (e.g. drum tracks).- All instances use a common thread pool- Each instance has a dispatching job that starts background loader, and a garbage job that clears data that has been unused for some time- The "FilePromise" object has disappeared. Upon request, Voices get a very thin reference-counting handler to the file data. When the handler is released the reference count is decreased and a "last used" timestamp is added to the file.- The background file loading job checks i) if the file is already loaded, or ii) if some other thread is already loading it. If any case is validated, it exits assuming the background loading is already happening.- The garbage job has to be triggered regularly by e.g. the synth. In the RT thread the triggerGarbageCollection() method will check the list of previously loaded file Ids to see if any has not been used for a while. If so, the memory is set to be discarded by a background thread, otherwise it'll wait for the next ping.Only tested on Linux for now. 2020-10-07 00:37:31 +02:00
Paul Ferrand
8212eb4966 cpp11 static assert needs a message 2020-10-06 23:58:27 +02:00
Paul Ferrand
02a1615e2d Use the back inserter idiom in all stealing methods 2020-10-06 23:31:45 +02:00