386 Commits

Author SHA1 Message Date
Chris Robinson
3fe38fed7c Mix effect slot output to the effect target if it's set 2018-12-23 08:51:28 -08:00
Chris Robinson
bfa98be48a Cleanup definitions and declarations in reverb.cpp 2018-12-22 19:31:12 -08:00
Chris Robinson
86caf2683e Constify a parameter 2018-12-22 18:43:34 -08:00
Chris Robinson
7744e4ff72 Pass RealMixParams by reference instead of pointer 2018-12-20 13:26:39 -08:00
Chris Robinson
640c06c292 Avoid some explicit loop counts 2018-12-15 01:48:54 -08:00
Chris Robinson
b779ebb512 Fix some MSVC conversion warnings 2018-12-12 21:18:31 -08:00
Chris Robinson
5a283c66ee Use proper classes for Vector and Matrix types 2018-12-12 04:22:11 -08:00
Chris Robinson
c9f5617f06 Avoid several uses of memset 2018-12-08 14:22:20 -08:00
Chris Robinson
fc8da0c16b Add missing include 2018-12-08 13:06:31 -08:00
Chris Robinson
ab5a11d5f3 Avoid using the deprecated mem_fun_ref method 2018-12-07 21:46:22 -08:00
Chris Robinson
164a86a381 Use class methods for the biquad filter 2018-12-04 22:31:08 -08:00
Chris Robinson
cc938c34b2 Clean up the Chorus a little 2018-11-22 08:08:46 -08:00
Chris Robinson
288dbbe886 Use default initialization for the reverb effect state 2018-11-19 22:48:56 -08:00
Chris Robinson
8995306203 Use proper templating for the modulator's Modulate function 2018-11-19 22:43:28 -08:00
Chris Robinson
8472a9d916 Use proper inheritence for the effect state objects 2018-11-19 22:34:26 -08:00
Chris Robinson
6ac84c7a5f Clean up the remaining effect struct member names 2018-11-19 21:04:50 -08:00
Chris Robinson
67da3850cb Use a normal vector for the echo buffer 2018-11-19 20:15:40 -08:00
Chris Robinson
a346380e2b Clean up more effects' struct members 2018-11-19 19:57:30 -08:00
Chris Robinson
7f3584ec4c Fix the reverb buffer size calculation 2018-11-19 19:13:44 -08:00
Chris Robinson
4810def613 Use a normal vector for the chorus sample buffer 2018-11-19 19:08:30 -08:00
Chris Robinson
ba33f6a7a4 Clean up the chorus/flanger struct members 2018-11-19 18:51:01 -08:00
Chris Robinson
3ae1c78d1a Use std::isfinite instead of isfinite 2018-11-19 09:51:29 -08:00
Chris Robinson
ddfed7187f Use a regular vector for the reverb sample buffer 2018-11-19 09:36:59 -08:00
Chris Robinson
55637ff1fc Rename reverb struct members 2018-11-19 09:29:22 -08:00
Chris Robinson
387a34ca00 Clean up the biquad filter a bit 2018-11-19 09:10:36 -08:00
Chris Robinson
07386e79de Fix up the struct member names in the autowah effect 2018-11-19 09:06:17 -08:00
Chris Robinson
c5c537cc5f Use proper inheritence for EffectStateFactory 2018-11-19 06:43:37 -08:00
Chris Robinson
38d6df9c1d Store the listener directly in the context 2018-11-17 23:41:11 -08:00
Chris Robinson
e79d9bdd1a Move the vector and matrix declarations to a separate header 2018-11-17 23:21:37 -08:00
Chris Robinson
fa3c34268d Move the ALCcontext definition to its own header 2018-11-17 23:02:27 -08:00
Chris Robinson
13478126cb Convert the remaining effects to C++ 2018-11-17 07:08:41 -08:00
Chris Robinson
93d96ced9c Convert the dedicated, distortion, echo, and equalizer to C++ 2018-11-17 06:53:20 -08:00
Chris Robinson
ad34855a2b Add a couple missing includes 2018-11-17 06:11:55 -08:00
Chris Robinson
ccdaca80c9 Use standard complex types instead of custom 2018-11-17 04:14:57 -08:00
Chris Robinson
b485cbe53a Make the Hann windows const 2018-11-17 02:30:41 -08:00
Chris Robinson
b69b3bd89f Convert fshifter.c to C++ 2018-11-17 01:58:38 -08:00
Chris Robinson
aa66ed0ea5 Convert modulator.c to C++ 2018-11-17 01:53:39 -08:00
Chris Robinson
a7d3c24b51 Convert null.c to C++ 2018-11-17 01:49:26 -08:00
Chris Robinson
557048afa2 Convert pshifter.c to C++ 2018-11-17 01:36:47 -08:00
Chris Robinson
8410e71a34 Convert the reverb effect to C++ 2018-11-16 21:31:52 -08:00
Chris Robinson
5482efc921 Make the polymorphic allocators allocate cleared memory 2018-11-02 18:48:08 -07:00
Chris Robinson
662e1c5cc2 Fix some uses of RESTRICT 2018-10-29 11:50:41 -07:00
Chris Robinson
903d878460 Replace restrict with RESTRICT 2018-10-29 11:32:50 -07:00
Chris Robinson
ed8f44d102 Don't scale the reverb fade counter so much 2018-09-30 16:34:00 -07:00
Chris Robinson
39c3314d00 Only compare the reverb params that induce a need for fading
The offsets and coefficients are controlled by a relatively small set of input
parameters, just with different base constants or different calculations. This
lead to numerous redundant checks since if one value didn't change, others that
use the same inputs wouldn't have either.
2018-09-23 22:59:16 -07:00
Chris Robinson
db6905bf57 Clear reverb gain coefficients when doing a device update 2018-09-23 02:22:23 -07:00
Chris Robinson
800326d37a Rename ALreverbState to ReverbState 2018-09-23 01:11:58 -07:00
Chris Robinson
5c6b8eda4f Remove another duplicate function 2018-09-19 22:18:46 -07:00
Chris Robinson
48b7745a49 Add macros for commonly used square roots 2018-09-19 19:53:25 -07:00
Chris Robinson
db452a19da The last reverb loop update doesn't need an aligned count. 2018-09-11 19:05:49 -07:00