6268 Commits

Author SHA1 Message Date
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
Chris Robinson
689f70ce6d Add a simple optional<> implementation 2019-06-30 16:40:08 -07:00
kcat
15ac839054
Merge pull request #305 from Lopuska/patch-1
avoid extra local member declaration
2019-06-30 16:39:36 -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
cbcee69ed1 Add an empty() method to FlexArray 2019-06-29 18:53:20 -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
kcat
c238619a8b
Merge pull request #301 from gongminmin/FixGcc9
Fix the error "a reinterpret_cast is not a constant expression" in GCC 9
2019-06-27 23:29:48 -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
edd75b3b4e Don't return a blank span when offset==size() 2019-06-25 14:40:25 -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
ee983bda75 Document the hrtf-mode config option 2019-06-21 12:43:33 -07:00
kcat
281e61e4cc
Merge pull request #298 from TeamHypersomnia/master
Fix ambiguous calls to destroy_at
2019-06-21 12:42:55 -07:00
geneotech
499aa65a4b Fix ambiguous calls to destroy_at 2019-06-21 18:25:09 +02: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
a2ba230e05 Combine two macros into one 2019-06-11 22:29:39 -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