Commit graph

526 commits

Author SHA1 Message Date
Paul Fd
4e5893c048 Updated atomic_queue 2020-03-15 22:25:42 +01:00
Paul Fd
501dd60d2b Correct the ASSERT macro in debug mode 2020-03-15 12:23:44 +01:00
Jean Pierre Cimalando
381b960252 Fix all Debug.h block macros everywhere 2020-03-15 11:08:55 +01:00
Paul Fd
61314db79d do while trick on debug 2020-03-15 10:43:42 +01:00
Paul Fd
53d3c51de5 State the fallthrough 2020-03-15 10:15:57 +01:00
Paul Fd
9606ea0dab Change count to int 2020-03-15 02:22:04 +01:00
Paul Fd
4d52ce955f Cast to int; value is bounded by NumValues 2020-03-15 02:21:51 +01:00
Paul Fd
9b349765dc The debug in the else branch stymies clang tidy 2020-03-15 02:18:40 +01:00
Paul Fd
dc0040a46b Static cast to int 2020-03-15 02:18:21 +01:00
Paul Fd
ea109f7896 Correct a tidy warning 2020-03-15 02:16:22 +01:00
Paul Fd
e58bf6f8cb Use linearRamp and correct a small bug in lerpFill 2020-03-15 02:09:30 +01:00
Paul Fd
84b58f82bd Debug mode did not compile 2020-03-15 00:41:55 +01:00
Paul Fd
c572bebb18 Moved the content of Curve.hpp into Curve.h 2020-03-15 00:20:22 +01:00
Jean Pierre Cimalando
784d1a3971 Adapt to the parser rework 2020-03-14 23:51:16 +01:00
Jean Pierre Cimalando
e1bacb2888 Curves integration into the synth 2020-03-14 23:51:16 +01:00
Jean Pierre Cimalando
a7b21a9890 Fallback interpolator to lerp if not enough points 2020-03-14 23:51:16 +01:00
Jean Pierre Cimalando
357b17d55f Add curves 2020-03-14 23:51:16 +01:00
Paul Fd
26646da29c Change to sfz::Buffer 2020-03-14 23:21:24 +01:00
Paul Fd
c41f26bf9d Long style cast 2020-03-14 23:08:08 +01:00
Paul Fd
20f2f59a0b Moved the verification ranges to Defaults.h 2020-03-14 23:05:15 +01:00
Paul Fd
620dbb9380 Corrected bugs and warnings in atomic_queue and LeakDetector 2020-03-14 22:56:33 +01:00
Paul Fd
d2af3eaf8d Added a conditional move on return if CXX 11 for polymorphic unique_pointers 2020-03-14 22:54:19 +01:00
Jean Pierre Cimalando
a6df5d9526 Add the autopan effect 2020-03-14 18:10:54 +01:00
Paul Fd
51be7a68ba Warnings about [[fallthrough]] 2020-03-14 18:02:54 +01:00
Paul Fd
57d9598ab3 Restore the initial sleep time in the emptyFileLoadingQueues() 2020-03-14 17:33:25 +01:00
Paul Fd
976385976c Changed CONSTEXPR_OR_INLINE to CXX14_CONSTEXPR 2020-03-14 17:33:25 +01:00
Paul Fd
cedc72a707 Unused constexpr 2020-03-14 17:33:25 +01:00
Paul Fd
b44b4efad3 Magic by @jpcima to solve the clang segfault 2020-03-14 17:33:25 +01:00
Paul Fd
8ba825d3dd Clean up changes to the atomic_queue 2020-03-14 17:33:25 +01:00
Paul Ferrand
dcca4c1cce Added leak detectors in Logger 2020-03-14 17:33:25 +01:00
Paul Ferrand
3d1cf4ac1e Explicit const on member functions of Buffer 2020-03-14 17:33:25 +01:00
Paul Ferrand
ad44c2cea9 Switch between inline and constexpr for c++ version 2020-03-14 17:33:25 +01:00
Paul Ferrand
17c4f87d4b Move EXPORT_SYMBOLS into Macros.h 2020-03-14 17:33:25 +01:00
Paul Ferrand
5e008cf684 List constructors
You can remove the default move/copy guys
 but I suspect that in this case the objects will
 never be moved in the queue but copied.
2020-03-14 17:33:25 +01:00
Paul Ferrand
1f95f90d26 Added member initializers to Logger data structures 2020-03-14 17:33:25 +01:00
Paul Ferrand
a26fc7a1fb Changed maybe unused into comments or macros 2020-03-14 17:33:25 +01:00
Paul Ferrand
0b90ab722f Fallthroughs 2020-03-14 17:33:25 +01:00
Paul Fd
543c638926 constexpr variables 2020-03-14 17:32:25 +01:00
Paul Fd
70743900b5 auto in lambdas 2020-03-14 17:32:25 +01:00
Paul Fd
f405e2c23f auto and braces 2020-03-14 17:32:25 +01:00
Paul Fd
0814d67337 Don't initialize member arrays 2020-03-14 17:32:25 +01:00
Paul Fd
2d74e0c776 absl's make unique 2020-03-14 17:32:25 +01:00
Paul Fd
624f014dec absl's type traits 2020-03-14 17:32:25 +01:00
Paul Fd
bc8d2b61b8 chrono literals and changes file handles
to enable aggregate initialization
2020-03-14 17:32:25 +01:00
Paul Fd
2daf53ab6c chrono literals 2020-03-14 17:32:25 +01:00
Paul Fd
89c26f462f Corrected an error introduced in dce954 2020-03-14 17:32:25 +01:00
Paul Fd
e158e9e381 multiplyByCents is inline 2020-03-14 17:32:25 +01:00
Paul Fd
a31ded0797 Tentative atomic_queue patch 2020-03-14 17:32:25 +01:00
Paul Fd
c919cc9c90 Can't use auto in lambda params 2020-03-14 17:32:25 +01:00
Paul Fd
d70268e1d8 Can't use auto return values 2020-03-14 17:32:25 +01:00