Chris Robinson
da29489ead
Use an enum class for the log level
2020-09-28 00:40:30 -07:00
Chris Robinson
191150d9a8
Remove deprecated, performance, and error event types
...
These would be better served with a proper debug API, rather than a general
audio event API.
2020-09-20 04:11:52 -07:00
Chris Robinson
bb90bfd9b3
Accumulate delays as samples before calculating nanoseconds
2020-09-12 01:52:45 -07:00
Chris Robinson
7eb5dfb3f8
Allow querying the new enums and functions
2020-09-05 23:53:53 -07:00
Chris Robinson
c52bf8c401
Rework effect slot buffer setting
...
Rather than creating an effect-specific buffer that gets passed along as a
property, the buffer is set the effect state when the effect state is created,
the device is updated, or the buffer is changed. The buffer can only be set
while the effect slot isn't playing, so it won't be changed or updated while
the mixer is processing the effect state.
2020-09-05 20:48:56 -07:00
Chris Robinson
7851f7d4ce
Don't add effect slots to the active list until an effect is set
2020-09-05 18:13:08 -07:00
Chris Robinson
1968136c98
Add an in-progress extension string for convolution reverb
2020-09-01 07:37:07 -07:00
Chris Robinson
a6aefeccd8
Use enum class for a couple enums
2020-09-01 05:46:19 -07:00
Chris Robinson
986a58d5b4
Pass a BufferStorage to EffectState::createBuffer
2020-08-28 00:44:55 -07:00
Chris Robinson
1f486f820e
Use a separate structure for buffer storage
2020-08-28 00:09:46 -07:00
Chris Robinson
9e5a388dfe
Add a method for effects to create persistent buffer data
2020-08-24 19:13:46 -07:00
Chris Robinson
73ab9d46c8
Use an intrusive_ptr to hold the unapplied effect state
2020-08-24 16:34:53 -07:00
Chris Robinson
ff5c9d1c15
Use an intrusive_ptr for ALeffectslotProps::State
2020-08-24 14:09:26 -07:00
Chris Robinson
23259b48dd
Avoid a zero-length array for the FlexArray definition
...
Newer GCCs are warning about FlexArray being used at the end of another struct.
Though not the most ideal to always allocate space for at least 1 element,
actual 0-sized uses are rare and for smaller element types.
2020-08-15 23:22:10 -07:00
Chris Robinson
e8b3e82f96
Change a couple functions into member functions
2020-08-07 06:22:39 -07:00
Chris Robinson
f81558c948
Avoid including windows.h in threads.h
2020-06-28 12:55:55 -07:00
Chris Robinson
540315b07c
Handle the front stablizer with the B-Format decoder
2020-06-15 02:13:14 -07:00
Chris Robinson
6ce9bf6c94
Move a couple related functions to the backend base
2020-06-12 12:53:47 -07:00
Chris Robinson
825206bfa2
Apply the ambisonic HF scaling in real-time with HRTF
...
Rather than applying the HF scale to the IRs necessitating them to be truncated
along with increasing the IR size, it can be applied to the input signal for
the same results. Consequently, the IR size can be notably shortened while
avoiding the extra truncation. In its place, the delayed reversed all-pass
technique can still be used on the input for maintaining phase when applying
the bandsplit/hfscalar filter to the input signal.
2020-05-19 10:27:52 -07:00
Chris Robinson
91b8387c0a
Give names to parameter value constants
2020-05-13 00:57:03 -07:00
Chris Robinson
0406e3bef7
Change a couple functions into member functions
2020-05-10 20:16:43 -07:00
Chris Robinson
73569dfeca
Avoid a reference on a constexpr variable
2020-05-08 20:11:30 -07:00
Chris Robinson
1c320c3532
Use a FIR filter for the UHJ all-pass
2020-05-08 15:38:14 -07:00
Chris Robinson
ee82db3966
Use a flexible array for the front stablizer delay buffers
2020-05-05 01:34:14 -07:00
Chris Robinson
deac36a1eb
Improve the front stablizer
...
Apply the all-pass+band-split only once, after generating the mid and side
signals separately.
2020-05-05 01:05:38 -07:00
Chris Robinson
054071998c
Correctly handle unicode paths on Windows for ALSOFT_LOGFILE
2020-04-29 15:41:11 -07:00
Chris Robinson
a25dea6cd9
Rename effect_chain to effect_target
2020-04-29 14:39:28 -07:00
Chris Robinson
4094135ed7
Don't return a bool from the backend start method
2020-04-28 19:25:58 -07:00
Chris Robinson
065775d814
Limit the maximum settable sample rate
2020-04-28 16:30:11 -07:00
Chris Robinson
45cb3e4956
Remove a couple redundant comments
2020-04-28 14:59:45 -07:00
Chris Robinson
cf64dc1103
Fix up some more uses of [AL[C]]void
2020-04-28 14:48:12 -07:00
Chris Robinson
c47f4822dc
Move standard ALC function's annotations to the header
2020-04-28 13:36:43 -07:00
Chris Robinson
1120f52556
Clean up some function comments
2020-04-28 08:29:42 -07:00
Chris Robinson
b828cf81a9
Shorten the name of format types
2020-04-28 07:56:36 -07:00
Chris Robinson
5441fba419
Don't maintain a global backend list end
2020-04-28 07:28:22 -07:00
Chris Robinson
187477db03
Properly return on error
2020-04-28 07:01:30 -07:00
Chris Robinson
b4435cd053
Avoid using some extraneous ALC types
2020-04-28 06:51:21 -07:00
Chris Robinson
e89978195f
Clean up some scaling math
2020-04-23 06:18:54 -07:00
Chris Robinson
aff410fa6d
Avoid using some more AL types
2020-04-23 04:57:04 -07:00
Chris Robinson
947826af1c
Get rid of an unnecessary variable
2020-04-20 04:30:14 -07:00
Chris Robinson
67e54a2669
Add an Oboe backend stub
2020-04-18 15:17:53 -07:00
Chris Robinson
27ac637a66
Remove another unnecessary return value
2020-04-16 17:29:32 -07:00
Chris Robinson
d67cba99bd
Clean up some more unnecessary uses of AL types
2020-04-08 10:15:43 -07:00
Chris Robinson
55539787fb
Avoid ALfloat in some places
2020-04-08 06:17:04 -07:00
Chris Robinson
024112a53a
Use acquire-release semantics for changing deferred updates
2020-04-07 12:46:35 -07:00
Chris Robinson
0077a01667
Don't yield the CPU when waiting for updates to finish
2020-04-07 12:36:44 -07:00
Chris Robinson
a0b7638d63
Add an extension to change a buffer's unpack ambisonic order
2020-04-04 03:10:01 -07:00
Chris Robinson
fc906c97f5
Track a buffer's ambisonic order
2020-04-04 01:52:29 -07:00
Chris Robinson
662d77159b
Get rid of a redundant enum
2020-03-30 16:00:02 -07:00
Chris Robinson
f2ddf971df
Return the enumerated device names from the backend
...
Rather than using an out parameter.
2020-03-30 15:37:41 -07:00