Chris Robinson
aeb7fe52f1
Use unsigned more consistently for source counts
2019-07-06 00:19:48 -07:00
Chris Robinson
474073955b
Pass a span to ApplyStablizer
2019-07-04 17:00:01 -07:00
Chris Robinson
3fe5ef272f
Use a span for MixParams
2019-07-04 15:02:12 -07:00
Chris Robinson
729ffe02d6
Reorder some methods for better placement
2019-07-04 14:03:27 -07:00
Chris Robinson
949507c891
Use a span for RealMixParams
2019-07-03 23:26:33 -07:00
Chris Robinson
9a51ca0a78
Pass a span to BFormatDec::process
2019-07-03 22:59:29 -07:00
Chris Robinson
0a0704071a
Allocate device buffer when setting the channel counts
2019-07-03 22:32:39 -07:00
Chris Robinson
61ba455edd
Don't warn about non-multiple-of-4 update sizes
...
It's not always possible to do anything about it, especially for backends that
aren't restricted to the period size, and it's not really a problem anyway
(still getting SIMD benefits for the vast majority of samples).
2019-07-02 01:56:59 -07:00
Minmin Gong
cee8100f19
Remove noexcept from sampler functions to match the signature of SamplerT ( #309 )
...
This change fixes compilation problems on gcc 9.1 with -std=c++17.
2019-07-01 22:42:20 -07:00
Chris Robinson
6bb0edf0a5
Create and use a make_optional method
2019-07-01 17:25:58 -07:00
Chris Robinson
53c13de5ce
Simplify some optional usage
2019-07-01 16:28:51 -07:00
Chris Robinson
e9b41d9b90
Don't unnecessarily force the output limiter on
2019-07-01 11:13:23 -07:00
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