Chris Robinson
ab3c2ea777
Don't bother with a passthru filter method
...
There's not really a case where it'll process less than 2 samples, and it was
wrong anyway.
2019-06-24 21:18:25 -07:00
Chris Robinson
f5cb6ac20e
Use a reference instead of the same array index
2019-06-24 13:33:09 -07:00
Chris Robinson
eb5ff42d15
Correctly index the send params
2019-06-24 13:21:06 -07:00
Chris Robinson
e8cef0cdae
Clean up all unused HRTFs when going through them
2019-06-24 12:55:36 -07:00
Chris Robinson
b46fc572f5
Use spans to handle pulseaudio capture buffers
2019-06-23 17:08:52 -07:00
Chris Robinson
723ab7f15a
Don't inline ifstream destructor
2019-06-18 23:04:24 -07:00
Chris Robinson
0fa984027c
Simplify al_print
2019-06-18 22:57:48 -07:00
Chris Robinson
706df72d18
Rename HrtfParams to HrtfFilter
2019-06-18 06:20:35 -07:00
Chris Robinson
2b19c53ece
Use al::byte instead of ALbyte for raw bytes
2019-06-17 20:26:00 -07:00
Chris Robinson
55785c0a16
Use al::make_unique for ChannelConverter
2019-06-17 20:15:37 -07:00
Chris Robinson
5a884572f0
Use a span instead of pointer+size parameters
2019-06-17 20:05:38 -07:00
Chris Robinson
21b8571f50
Avoid an implied else if check
2019-06-16 22:45:07 -07:00
Chris Robinson
a009b9502a
Avoid manually looping to destroy orphaned async events
2019-06-16 18:58:56 -07:00
Chris Robinson
0a532729ba
Reorganize how some device fields are set and reset
2019-06-15 23:10:11 -07:00
Chris Robinson
8670fca3dc
Fix BS2B output
2019-06-12 22:51:09 -07:00
Chris Robinson
a478fd4b25
Fix unsigned short/int sample converters
...
And add const/noexcept in some places
2019-06-11 14:59:06 -07:00
Chris Robinson
97d56dd424
Use C++ I/O to check for NEON support
2019-06-10 22:29:58 -07:00
Chris Robinson
1a14946306
Get rid of an unnecessary constructor
2019-06-10 21:56:09 -07:00
Chris Robinson
c22d537d93
Remove some extern "C" blocks
2019-06-10 21:45:33 -07:00
Chris Robinson
8bb42c2f98
Don't inline some file IO methods
2019-06-10 01:51:14 -07:00
Chris Robinson
ec6fdff0c6
Make the voice count unsigned
2019-06-09 19:27:15 -07:00
Chris Robinson
bc8f206ee1
Use a FlexArray for the context's voices
2019-06-09 18:13:54 -07:00
Chris Robinson
90d25e5187
Make sure the bitfield indices are constants
2019-06-09 02:20:30 -07:00
Chris Robinson
2e154069c6
Use a bitfield for the device flags
2019-06-08 23:49:15 -07:00
Chris Robinson
b6ce793f84
Use a span for the complex_fft/hilbert functions
2019-06-08 16:05:18 -07:00
Chris Robinson
91b7e8142c
Simplify DistanceComp somewhat
2019-06-08 01:39:28 -07:00
Chris Robinson
87ccdf02a7
Avoid strcpy
2019-06-06 04:39:30 -07:00
Chris Robinson
585b0cf3be
Remove the DEF_ALIGN macro
2019-06-06 00:37:00 -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
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
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
a123c87ba5
Avoid some MSVC workarounds that didn't seem to work
2019-05-30 14:38:06 -07:00
Chris Robinson
76e7c8b244
Try to work around some MSVC short-comings
2019-05-30 10:52:28 -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