Commit graph

40 commits

Author SHA1 Message Date
Paul Fd
bc8d2b61b8 chrono literals and changes file handles
to enable aggregate initialization
2020-03-14 17:32:25 +01:00
Paul Fd
4f4723a341 Added the clang-tidy job in the Test stage 2020-03-08 17:03:09 +01:00
Paul Ferrand
133885f085 Renamed the ScopedLogger as ScopedTiming 2020-02-27 12:41:16 +01:00
Paul Ferrand
916e269bf6 Careful with outer loop points and endings 2020-01-27 09:43:52 +01:00
Paul Ferrand
15e5212cfc
Added back the WIN32 switch 2020-01-26 21:15:20 +01:00
Jean Pierre Cimalando
06755812db Mechanism for case-sensitivity on Unix-style OS, integration code by @paulfd 2020-01-26 20:38:59 +01:00
Paul Ferrand
3abb63639b Less verbose license text 2020-01-25 13:13:07 +01:00
Paul Ferrand
56be9c8b7c Updated licenses and copyright date 2020-01-25 10:13:33 +01:00
Paul Ferrand
24bd0d8119 Removed cout logging and put the wait time with load times 2020-01-14 17:26:08 +01:00
Paul Ferrand
2588ec2822 Added logging in callbacks and loading threads 2020-01-14 17:26:08 +01:00
Paul Ferrand
d9dfbaf06f Wrong method called on the queue to check if empty
`size()` is the max size
2020-01-05 12:11:29 +01:00
Paul Ferrand
df8933bed1 Cast to uint32_t explicitely 2020-01-05 00:17:08 +01:00
Paul Ferrand
60a08863c6 Handle the stricter iterators of msvc 2020-01-04 16:37:46 +01:00
Paul Ferrand
5a21c52164 Handle wide chars on windows 2020-01-04 16:32:18 +01:00
Paul Ferrand
cf0d237ff8 Silenced the debug message for now 2020-01-03 17:44:20 +01:00
Paul Ferrand
ef0685963b Added load time checks 2020-01-03 17:32:40 +01:00
Paul Ferrand
f410bcb072 Changed the queue and added debug messages 2020-01-03 15:19:39 +01:00
Paul Ferrand
7aff30f58a If multiple loop regions in the file take the 1st 2019-12-29 22:59:19 +01: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
68dfadb09e Refactor the filepool a bit 2019-12-23 12:42:33 +01:00
Paul Ferrand
d6136b6bf9 Refactor the filepool loading for streaming 2019-12-22 23:37:57 +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
b208d8faca No need for AudioBuffers for intermediate buffers
File reading can use dumb buffers
2019-12-22 11:10:50 +01:00
Paul Ferrand
ca7c4f2939 Removed seemingly redundant casts 2019-12-22 01:12:49 +01:00
Paul Ferrand
0f5fe04168 Removed an unnecessary reset() 2019-12-17 23:22:48 +01:00
Paul Ferrand
f1653a499d Added a method in the file pool to wait on the background threads to finish loading 2019-12-08 18:09:21 +01:00
Paul Ferrand
0efbf96b4a Move the oversampling primitives to the oversampling file. 2019-12-04 00:17:10 +01:00
Paul Ferrand
19b475ed94 Move the spsc queues to mpmc queues 2019-12-03 21:30:00 +01:00
Paul Ferrand
e33ce85a6a Added the concurrent queue to the filepool 2019-12-03 15:35:49 +01:00
Paul Ferrand
c00f5174b1 Corrected the bug ; the reloading procedures did not take the current oversampling parameter into account. 2019-12-02 12:25:28 +01:00
Paul Ferrand
030e0c16ee Added back the method to empty the file loading queue 2019-12-01 22:57:49 +01:00
Paul Ferrand
91e4678c4b Switch back to a queue for file promises 2019-12-01 22:47:51 +01:00
Paul Ferrand
0d285cf494 Add flags to the command line client for oversampling and preloading 2019-12-01 22:47:51 +01:00
Paul Ferrand
a6a1808403 Added oversampling 2019-12-01 22:47:51 +01:00
Paul Ferrand
d017a63a36 Continue integrating the preloading size and oversampling factor 2019-12-01 22:47:51 +01:00
Paul Ferrand
630220e7e0 Changed the logic for the file loading 2019-12-01 22:47:51 +01:00
Paul Ferrand
97a5d5ce90 The spinlocking on FilePool::emptyQueue is now integrated in the function 2019-12-01 12:16:35 +01:00
Paul Ferrand
17236412e3 Added a signal that the filepool should empty the queue 2019-11-30 16:17:10 +01:00
Paul Ferrand
2c6e9b0510 reflush things around 2019-11-23 17:40:55 +01:00
Renamed from src/FilePool.cpp (Browse further)