Chris Robinson
5f233a2c24
Use more constexpr variables instead of macros
2020-12-25 20:52:18 -08:00
Chris Robinson
223f93e13d
Increase direct HRTF delay to 256
...
This should improve the error from the all-pass on the partial input.
2020-12-25 13:02:22 -08:00
Chris Robinson
f6e29ce5bb
Return an optional for an error
2020-12-25 09:26:24 -08:00
Chris Robinson
78f73a4277
Avoid dynamic vectors in AmbDecConf
...
Also add a bit more sanity checking
2020-12-25 08:31:02 -08:00
Chris Robinson
eaf209d2f1
Update a comment and type used in the convolution effect
2020-12-25 07:00:57 -08:00
Chris Robinson
204f7d8811
Rename From2D to FromACN2D
2020-12-25 06:40:13 -08:00
Chris Robinson
20820fd01b
Move the ambdec loader to core
2020-12-25 06:30:47 -08:00
Chris Robinson
fe9ec157fd
Use an import target for linking OpenSL
2020-12-24 22:49:55 -08:00
Chris Robinson
4bc686d89b
Remove unnecessary includes
2020-12-24 22:49:55 -08:00
Chris Robinson
0d3b041aa2
Avoid AL types and enums in the effect processors
2020-12-24 22:49:55 -08:00
Chris Robinson
eedc42890f
Move alexcpt to core
2020-12-24 22:49:55 -08:00
Chris Robinson
63ea62bea1
Avoid some more AL types
2020-12-24 22:49:55 -08:00
David CARLIER
8c4c14ea73
fast_roundf implementations in asm for ARM64. ( #511 )
2020-12-24 22:48:57 -08:00
Chris Robinson
6ae0115bf7
Avoid AL/ALC types in the backends
2020-12-17 23:21:45 -08:00
Chris Robinson
5edd5a11fc
Don't use ALC error enums for the backend error code
2020-12-17 21:07:53 -08:00
Chris Robinson
7d2e21334c
Move the AL error enum out of base_exception
2020-12-17 16:46:21 -08:00
Chris Robinson
4d1ac95ae2
Don't return an enum from captureSamples
...
It's always no_error
2020-12-17 03:06:52 -08:00
Chris Robinson
d578bc6cb1
Move logging to core
2020-12-17 02:47:03 -08:00
Chris Robinson
f0fe57dc5a
Don't link DistanceModel enums to AL values
2020-12-16 14:58:55 -08:00
Chris Robinson
efc9c146c3
Move AsyncEvent to a separate header
2020-12-16 13:58:51 -08:00
Chris Robinson
9710a859fa
Add missing include
2020-12-16 03:02:49 -08:00
Chris Robinson
41594a07bc
Update changelog
2020-12-16 02:17:18 -08:00
Chris Robinson
02be0149f1
Send stop events when stopping paused voices
2020-12-16 02:12:18 -08:00
Chris Robinson
c96b50fb65
Use a separate enum for the VoiceChange state
2020-12-16 01:40:15 -08:00
Chris Robinson
5ad28f8cba
Move VoiceChange to a separate header
2020-12-16 00:50:50 -08:00
Chris Robinson
f38919eecc
Avoid using a hidden unnamed template parameter
2020-12-15 23:47:47 -08:00
Chris Robinson
5b51a58ff2
Fix some includes
2020-12-15 23:39:17 -08:00
Chris Robinson
304ab8d890
Avoid a generic event struct
2020-12-15 21:32:01 -08:00
Chris Robinson
a08f68f213
Avoid some AL types
2020-12-15 20:48:21 -08:00
Chris Robinson
daf9d46478
Use a separate structure for the context/listener params
2020-12-15 18:41:50 -08:00
Chris Robinson
03358a0d80
Avoid changing the global CPU flags in FillCPUCaps
2020-12-15 12:33:57 -08:00
Chris Robinson
9435641c0d
Remove unneeded includes
2020-12-15 01:31:09 -08:00
Chris Robinson
56af137ba0
Move fmt_traits to core
2020-12-13 21:12:03 -08:00
Chris Robinson
783904e414
Avoid compiling different sources for different targets
...
Simplifies configuration and fixes a potential problem with inline functions.
Inline functions that fail to inline will have a callable body generated. If
such a body is generated with the SSE4 source, for example, it can generate
SSE4 instructions. Calls for that function in other sources can then end up
calling the SSE4-generated body outside of any CPU capability check.
2020-12-13 16:49:46 -08:00
Chris Robinson
225d42538d
Be more consistent with size_t
2020-12-12 23:41:38 -08:00
Chris Robinson
bb597546e1
Make sure to stop ALSA playback when the backend stops
2020-12-12 15:10:25 -08:00
Chris Robinson
e179bf0a12
Move the mixer functions to core
2020-12-12 14:58:09 -08:00
Chris Robinson
14df534114
Use a separate list for core objects
2020-12-12 14:45:41 -08:00
Chris Robinson
f57801102a
Remove an unnecessary include and forward declaration
2020-12-12 14:21:45 -08:00
Chris Robinson
1ad944555c
Move some HRTF definitions to a separate header
2020-12-12 14:15:17 -08:00
Chris Robinson
176bc8a835
Avoid passing DirectHrtfState to MixDirectHrtf
2020-12-12 13:52:14 -08:00
Chris Robinson
191fe888b4
Move ambidefs.h to core
2020-12-12 10:38:24 -08:00
Chris Robinson
1bb7f575f0
Don't modify the IR size of loaded HRTFs
2020-12-11 15:08:50 -08:00
Chris Robinson
bd08b9a5b5
Use constexpr variables instead of macros
2020-12-06 08:49:20 -08:00
Chris Robinson
4ee95dc296
Use a smaller FFT for convolution
2020-12-05 14:18:19 -08:00
Chris Robinson
2fc10a2bc0
Avoid returning an array for initialization
2020-12-05 07:27:54 -08:00
Chris Robinson
1679ab937e
Reorder definitions to keep them near each other
2020-12-05 06:40:06 -08:00
Chris Robinson
16c7d1816d
Remove some unnecessary inlines and includes
2020-12-05 06:30:13 -08:00
Chris Robinson
7485e402c1
Avoid a REQUIRES macro for SFINAE
2020-12-05 05:57:18 -08:00
Chris Robinson
8a352d25f9
Move the ringbuffer to common
2020-12-05 03:28:19 -08:00