4424 Commits

Author SHA1 Message Date
Lopuska
a5197177be
Corrected old naming 2019-07-01 14:58:32 +02:00
Chris Robinson
f458642237 Use optionals where methods may not return a valid value 2019-06-30 16:57:10 -07:00
Chris Robinson
49ceae681b Return optionals from the remaining ConfigValue* methods 2019-06-30 16:40:08 -07:00
Chris Robinson
3658dafdcb Use an optional for ConfigValueStr 2019-06-30 16:40:08 -07:00
Chris Robinson
db026454f2 Fix Y channel offset for the UHJ encoder 2019-06-30 16:40:08 -07:00
Chris Robinson
0fc30151f2 Use an optional for ConfigValueUInt 2019-06-30 16:40:08 -07:00
Chris Robinson
51f53afe12 Use an optional for ConfigValueInt 2019-06-30 16:40:08 -07:00
Lopuska
541a9383a7
avoid extra local member declaration 2019-06-30 23:17:13 +02:00
Chris Robinson
ada86d2fcf Hold references in the global device and context lists 2019-06-29 22:38:38 -07:00
Chris Robinson
7303e22d89 Use a FlexArray for a device's contexts 2019-06-29 21:32:36 -07:00
Chris Robinson
c7797fa10f Declare variables closer to their use 2019-06-29 15:04:20 -07:00
Chris Robinson
811d0738fa Put some static functions in an anonymous namespace 2019-06-29 12:16:38 -07:00
Chris Robinson
b905a224ee Avoid a generic function for specialized behavior 2019-06-29 11:45:55 -07:00
Chris Robinson
6790a9b44f Use a bool for the TrapALError flag 2019-06-29 11:22:29 -07:00
Chris Robinson
12911cc533 Use a range-for loop to concatenate available backends 2019-06-29 10:23:29 -07:00
Chris Robinson
3ede66ae45 Don't keep retrieving the backend factories 2019-06-28 18:54:31 -07:00
Minmin Gong
9326b98e2d Fix the error "a reinterpret_cast is not a constant expression" on GCC 9 2019-06-27 22:29:42 -07:00
Chris Robinson
2598ee6f0a Properly set extra fields in MakeExtensible 2019-06-27 09:47:31 -07:00
Chris Robinson
341c68c9a1 Trace the requested and required formats for WASAPI 2019-06-27 09:41:52 -07:00
Chris Robinson
360869f23b Use a span for some post-mixing processing 2019-06-27 08:49:04 -07:00
Chris Robinson
48191cbf0a Use a span instead of explicit current and end pointers 2019-06-25 17:10:46 -07:00
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