Chris Robinson
534c487f14
Avoid AL types in hrtf.cpp/h
2020-11-22 17:27:22 -08:00
Chris Robinson
822224312d
Use optionals for some attribute parameters
2020-11-22 04:31:02 -08:00
Chris Robinson
21174047df
Make ALbuffer inherit from BufferStorage
2020-11-21 00:54:25 -08:00
Chris Robinson
54afcbe113
Use clearer variable names
2020-11-20 22:02:20 -08:00
Chris Robinson
2cb2ffef72
Disassociate internal buffer enums from AL enum values
2020-11-20 04:27:10 -08:00
Chris Robinson
c3cb09aa0c
Avoid AL types in the mixer
2020-11-20 03:59:14 -08:00
Chris Robinson
f85e76285f
Disassociate internal voice enums from AL enums
2020-11-20 01:37:19 -08:00
Chris Robinson
bee9917598
Disassociate internal format enums from ALC enums
2020-11-20 00:55:51 -08:00
Chris Robinson
0024ea229b
Don't try to override the CoreAudio maximum capture slice
2020-11-19 17:49:25 -08:00
Chris Robinson
03f9700071
Use BufferStorage for the buffer queue
2020-11-19 04:18:25 -08:00
Chris Robinson
537510afc8
Put the loop start/end in BufferStorage
2020-11-19 03:23:46 -08:00
Chris Robinson
88cb398a83
Avoid direct initialization of float32x4_t
2020-11-16 13:42:20 -08:00
Chris Robinson
1869dc14d4
Use WinAPI functions to check for NEON support
2020-11-16 12:42:33 -08:00
Chris Robinson
e64c52ce8c
Use doubles to calculate the listener matrix translation
...
To help stablize sources near the listener, when away from origin. Also clean
up some related methods and move them to more appropriate places.
2020-11-13 23:33:40 -08:00
Chris Robinson
1a05dda8db
Avoid testing a bool against AL_FALSE
2020-11-12 12:46:15 -08:00
Chris Robinson
7e76770278
Avoid an unnecessary multiplier
2020-11-09 12:33:07 -08:00
Chris Robinson
3a58bac7bd
Fix pitch shifter bin count
2020-11-09 08:10:43 -08:00
Chris Robinson
54e4346f50
Simplify some pitch shifter scaling calculations
2020-11-08 07:59:14 -08:00
Chris Robinson
4e760bbecc
Use a separate structure for the active effect slot properties
2020-11-07 08:36:49 -08:00
Chris Robinson
120776bec5
Use a range-for loop instead of for_each
2020-11-06 15:44:49 -08:00
Chris Robinson
26b03f534c
Use more efficient sorting for effect slots
2020-11-05 15:35:09 -08:00
Chris Robinson
aeb7170a8b
Add missing include for the CoreAudio backend
2020-11-05 05:42:02 -08:00
Chris Robinson
03389f390c
Avoid a full wipe and reallocation of wet buffers
2020-11-02 05:19:17 -08:00
Chris Robinson
52d58a4023
Store the wet buffers in the context
...
This is rather ugly, but we need the wet buffers to remain allocated after its
effect slot is deleted, because a voice can still use it for its final fade-out
mix.
2020-11-02 04:24:36 -08:00
Chris Robinson
be0798b56d
Finalize AL_SOFT_events
2020-10-26 10:57:48 -07:00
Chris Robinson
7bb37deb51
Replace the mixer fraction macros with constexpr variables
2020-10-21 17:16:27 -07:00
Chris Robinson
3e62600ecc
Replace some more macros with constexpr variables
2020-10-21 16:39:21 -07:00
Chris Robinson
b8f5e1f424
Change some more macros into constexpr variables
2020-10-21 10:39:00 -07:00
Jan Niklas Hasse
bd9d5d7bf0
Silence warning about unused return values
...
warning C4834: discarding return value of function with 'nodiscard'
attribute
2020-10-20 18:33:53 +02:00
Chris Robinson
95ea5951b1
Try again to work around a GCC 5 issue
2020-10-19 08:29:50 -07:00
Chris Robinson
a3903b84f9
Revert "Workaround a GCC 5 issue"
...
This reverts commit ada92b058a6bde647af6f445131729900490142a.
It didn't fix the problem.
2020-10-19 08:24:19 -07:00
Chris Robinson
ada92b058a
Workaround a GCC 5 issue
2020-10-19 08:01:38 -07:00
Chris Robinson
cdc15a4783
Use constexpr variables in place of some macros
2020-10-19 07:55:25 -07:00
Chris Robinson
d6686bceb0
Avoid an extra function to generate BSincHeaders
2020-10-18 16:49:36 -07:00
Chris Robinson
20cc3882b4
Do in-place initialization for the bsinc filters
...
Requires less dynamic allocations and less troublesome return values of large
arrays. Also reduces repetition with specified parameters.
2020-10-18 05:34:27 -07:00
Chris Robinson
17e88bdef3
Add a missing enum to the enum list
2020-10-16 06:39:42 -07:00
Chris Robinson
8e09ae8ee6
Finalize AL_SOFT_effect_target
2020-10-16 06:36:43 -07:00
Chris Robinson
2beb095eb1
Finalize ALC_SOFT_loopback_bformat
2020-10-16 06:35:23 -07:00
Chris Robinson
b0e025946e
Don't check for the app path if one was already retrieved
2020-10-13 01:57:53 -07:00
Chris Robinson
303ca3af72
Use inline functions for popcnt and ctz instead of macros
2020-10-13 01:21:44 -07:00
Chris Robinson
0dc9ae0998
Update event enum values
...
To keep them less spread out from other OpenAL Soft extensions.
2020-10-07 20:13:52 -07:00
Chris Robinson
7fb6d64ca8
Be more robust with to-mono channel conversions
2020-10-05 22:30:23 -07:00
Chris Robinson
e7a44d3b70
Cast the ringbuffer size to the correct type
2020-10-05 00:43:06 -07:00
Chris Robinson
7361e108a3
Fix a variable name
2020-10-05 00:17:13 -07:00
Chris Robinson
e0097c18b8
Simplify some DSound capture math
2020-10-03 16:17:34 -07:00
Chris Robinson
b5eccf424b
Remove the unused Ref logging level
2020-09-28 16:14:20 -07:00
Chris Robinson
f02bc1354d
Rework logging a little
...
Use OutputDebugStringW on Windows in addition to the log file
Avoid duplicate formatter parsing with Android
2020-09-28 11:34:24 -07:00
Chris Robinson
da29489ead
Use an enum class for the log level
2020-09-28 00:40:30 -07:00
Chris Robinson
39f4ea61c5
Add missing linear resampler to the option setting list
2020-09-24 14:21:57 -07:00
Chris Robinson
cef82153b6
Use a smaller buffer for the phase-shift filter
2020-09-24 13:26:01 -07:00