6216 Commits

Author SHA1 Message Date
Chris Robinson
1569b79c5d Fix for GCC 5.4 2019-06-08 02:17:08 -07:00
Chris Robinson
91b7e8142c Simplify DistanceComp somewhat 2019-06-08 01:39:28 -07:00
Chris Robinson
7988bc6e91 Add and use proper types for FlexArray 2019-06-07 23:42:31 -07:00
Chris Robinson
7537bb3492 Don't warn about standard functions with MSVC 2019-06-06 15:57:15 -07:00
Chris Robinson
87ccdf02a7 Avoid strcpy 2019-06-06 04:39:30 -07:00
Chris Robinson
56faf66887 Disable MSVC warning 4200 again 2019-06-06 03:32:28 -07:00
Chris Robinson
39c2b18cd4 Remove a couple unused functions 2019-06-06 00:42:59 -07:00
Chris Robinson
585b0cf3be Remove the DEF_ALIGN macro 2019-06-06 00:37:00 -07:00
Chris Robinson
a7be531049 Remove the unused ALIGN macro 2019-06-06 00:24:13 -07:00
Chris Robinson
d9d9e70ed8 Don't disable some MSVC warnings 2019-06-06 00:18:25 -07:00
Chris Robinson
5acae56ecd Use a FlexArray for ringbuffer storage 2019-06-05 23:29:13 -07:00
Chris Robinson
24df52c042 Remove the per-voice ChannelsPerOrder field 2019-06-05 23:00:28 -07:00
Chris Robinson
f9da06fc6a Use a span for the effect state's output target 2019-06-05 19:58:58 -07:00
Chris Robinson
1ce310c6d1 Make some more channel counts unsigned 2019-06-05 19:26:54 -07:00
Chris Robinson
410a5ca621 Make RealMixParams channel count unsigned 2019-06-05 18:54:17 -07:00
Chris Robinson
5f26205f8f Properly destroy other objects 2019-06-05 17:25:08 -07:00
Chris Robinson
f27e73989c Properly destroy the limiter's extra fields 2019-06-05 17:09:15 -07:00
Chris Robinson
142721df17 Add methods to construct and destruct objects in-place 2019-06-05 16:38:53 -07:00
Chris Robinson
b2735331c0 Use a 16-sample base delay for the B-Format decoder IRs 2019-06-04 20:27:32 -07:00
Chris Robinson
9d861406c0 Avoid a separate struct for the bandsplitter all-pass 2019-06-04 17:50:36 -07:00
Chris Robinson
4522a51ea2 Don't log the function or prefix
It's ultimately unnecessary since the message is an indicator about where it
was logged from. The message itself is generally more important than where it
was from, too.
2019-06-04 01:37:36 -07:00
Chris Robinson
f0bc9d8a9b Improve alignment handling for the alignment allocator 2019-06-03 22:58:56 -07:00
Chris Robinson
c76fb714cc Restructure voice data members
This should improve access patters by packing each buffer channel's data
together, which is more inline with its use.
2019-06-03 22:24:26 -07:00
Chris Robinson
53e1415a67 Allow selecting the ambisonic order for basic HRTF rendering 2019-06-02 20:38:43 -07:00
Chris Robinson
8c4a9a5a32 Properly search for prebuilt native-tools 2019-06-01 11:21:43 -07:00
Chris Robinson
20ce461096 Make sure the T60 filter gains are properly clamped 2019-05-31 11:58:48 -07:00
Chris Robinson
6ee49cad52 Once more for MSVC 2019-05-30 18:55:24 -07:00
Chris Robinson
4bae4cbafb Another attempt to fix MSVC 2015 2019-05-30 18:39:51 -07:00
Chris Robinson
a123c87ba5 Avoid some MSVC workarounds that didn't seem to work 2019-05-30 14:38:06 -07:00
Chris Robinson
1c8dfb55d8 Improve span constructor requirements
Particularly, properly account for the const-ness of the data returned by it.
2019-05-30 11:46:48 -07:00
Chris Robinson
76e7c8b244 Try to work around some MSVC short-comings 2019-05-30 10:52:28 -07:00
Chris Robinson
1961828d0b Avoid potentially ambiguous span copy constructor 2019-05-30 10:06:12 -07:00
Chris Robinson
153f133435 Try to fix "ambiguous" initializations with older compilers 2019-05-29 23:41:09 -07:00
Chris Robinson
dbdf516dbf Use a span for the voice's buffer references 2019-05-29 23:06:24 -07:00
Chris Robinson
2909f263fd Use span<FloatBufferLine> for EffectState::process output 2019-05-29 22:31:36 -07:00
Chris Robinson
893ffe9a84 Use span<FloatBufferLine> for MixSamples 2019-05-29 21:58:37 -07:00
Chris Robinson
8af7b4c6e0 Use FloatBufferLine and span<> for MixRowSamples 2019-05-29 20:45:33 -07:00
Chris Robinson
7e6b6d7ad9 Use FloatBufferLine and span<> in the reverb effect 2019-05-29 19:36:06 -07:00
Chris Robinson
ba449d2b08 Pass a span to MixDirectHrtf instead of a pointer+size 2019-05-29 17:32:16 -07:00
Chris Robinson
d0f0a5fdca Separate two HRTF passes into two loops 2019-05-29 11:13:35 -07:00
Chris Robinson
ec3a6f8cde Use FloatBufferLine for the effect process method 2019-05-29 09:37:25 -07:00
Chris Robinson
b923eb1879 Use FloatBufferLine with the HRTF mixer functions 2019-05-28 22:44:50 -07:00
Chris Robinson
838e2bae80 Improve a couple algorithms 2019-05-28 17:18:22 -07:00
Chris Robinson
c80ee5b701 Use std::array for most mixing buffer arrays 2019-05-28 16:22:36 -07:00
Chris Robinson
7ce2b632f5 Simplify template type requirement checking 2019-05-28 08:49:53 -07:00
Chris Robinson
aa4b6afad6 Small cleanup for is_span and is_std_array 2019-05-27 22:01:59 -07:00
Chris Robinson
bac52e9537 Fix default constructor for static-sized spans 2019-05-27 17:48:19 -07:00
Chris Robinson
28fbb5178a Remove unnecessary assignment operators 2019-05-27 15:56:50 -07:00
Chris Robinson
aad49d666a Implement static-sized spans, and handle overload requirements
Note that span is specialized such that a static-sized span only has a single
data member, making it a suitable replacement for  Type (&arg)[Size]  style
variables/parameters.
2019-05-27 15:36:10 -07:00
Chris Robinson
f57fedec7f Get rid of the COUNTOF macro 2019-05-26 21:28:51 -07:00