Chris Robinson
de33f4968c
Fix CoreAudio audio unit element values for capture
2022-05-02 05:17:22 -07:00
Chris Robinson
22e6c0df60
Check for a minimum PipeWire version
...
The backend is apparently using some stuff that wasn't in earlier headers, but
it's not clear what was introduced in which versions. 0.3.23 should work,
though it may need to be higher or it could go a bit lower.
2022-04-27 01:25:15 -07:00
Chris Robinson
514ff1d71b
Update alsoftrc.sample about surround3d71
2022-04-27 00:28:23 -07:00
Chris Robinson
d9fe5a11cd
Reset the ringbuffer when stopping OpenSL playback
2022-04-26 23:42:23 -07:00
Chris Robinson
593966c8db
Handle 3D7.1 as a separate channel configuration
...
It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to
behave better, not forwarding rear left/right channel inputs to lower front and
upper rear, and allows reporting a more appropriate output mode to the app
instead of 7.1.
2022-04-26 23:32:15 -07:00
Chris Robinson
07dd62e53f
Update a tooltip to match current behavior
2022-04-26 19:27:26 -07:00
Chris Robinson
9b330e4127
Add an option to alsoft-config for EAX API support
2022-04-26 14:03:24 -07:00
Chris Robinson
4b557f15d0
Workaround a MinGW issue with str(n)casecmp macros
2022-04-26 02:31:06 -07:00
Chris Robinson
7c33c1b2e6
Use bool() instead of bool{} to cast
...
To work around a MinGW GCC 5 issue.
2022-04-25 21:11:10 -07:00
Chris Robinson
2daed0d0b4
Fully protect disconnection with the mixer counter
2022-04-25 17:32:20 -07:00
Chris Robinson
31d7d62eea
Use a type alias to simplify using a type
2022-04-25 17:32:20 -07:00
Chris Robinson
5038ba4d6b
Clean up some case spaghetti
2022-04-25 17:32:20 -07:00
ilya-fedin
2ea5bb9168
Fallback to pkg-config for dbus ( #689 )
2022-04-25 17:32:01 -07:00
Chris Robinson
c1c63a27de
Release 1.22.0
2022-04-22 18:46:14 -07:00
Chris Robinson
354c18a242
Remove a couple unused fields
2022-04-22 16:37:08 -07:00
Chris Robinson
e7a2c0af76
Define FUNCTION_CAST in a common header
2022-04-22 11:24:39 -07:00
Chris Robinson
1050428d3d
Print the output mode from openal-info
2022-04-17 13:56:30 -07:00
Chris Robinson
9ac49e2ce1
Finalize ALC_SOFT_output_mode
2022-04-17 13:56:01 -07:00
Chris Robinson
ac4d4fc731
Always report ALC_ANY_SOFT for output without contexts
...
Not required, but nicer to be consistent if it's not a meaningful value (e.g.
the actual device mode).
2022-04-17 05:27:40 -07:00
Chris Robinson
5c0eabc526
Silence reverb with EAX by default
2022-04-16 13:40:46 -07:00
Chris Robinson
adccf0aec9
Use a bool type for boolean parameters
2022-04-16 03:53:54 -07:00
Chris Robinson
4bfaf860bf
Include ALC_OUTPUT_MODE_SOFT with ALC_ALL_ATTRIBUTES
2022-04-16 03:49:22 -07:00
Chris Robinson
144e30a949
Update the ALC_SOFT_output_mode surround enums
...
The values are identical to the matching loopback channel configuration enums,
so for example ALC_5POINT1_SOFT is interchangable with ALC_SURROUND_5_1_SOFT,
this is simply providing a cleaner styling for potential future modes.
2022-04-15 01:45:24 -07:00
Chris Robinson
12dd7bee90
Finalize AL_SOFT_UHJ
2022-04-13 23:02:35 -07:00
Chris Robinson
2fb7538f68
Clear capture buffers before enqueueing them with OpenSL
2022-04-08 21:46:30 -07:00
Chris Robinson
a42fe862c5
Keep track of uncaptured samples with the Oboe backend
...
Stopping Oboe capture drops uncaptured samples, whereas OpenAL keeps them. Also
make sure the reported available count doesn't go backwards without reading.
2022-04-06 21:53:26 -07:00
Chris Robinson
6a9fe1e2c1
Rename lerp to avoid conflicts with C++20's std::lerp
2022-04-06 17:41:24 -07:00
Chris Robinson
707f4cca27
Limit the super stereo width factor to 0.7
2022-04-04 23:20:59 -07:00
Chris Robinson
8188bb9f01
Update a comment for abandoned extension functions
2022-04-03 20:52:54 -07:00
Chris Robinson
f2f83aaabb
Finalize AL_SOFT_callback_buffer
2022-04-01 19:31:22 -07:00
Chris Robinson
33109e86c9
Fix ALC_SOFT_reopen_device for the null device extension list
2022-04-01 19:26:41 -07:00
Chris Robinson
a731e042cc
Remove the unused flags parameter from alBufferCallbackSOFT
2022-04-01 19:15:16 -07:00
Chris Robinson
872c206deb
Finalize ALC_SOFT_reopen_device
2022-04-01 16:37:26 -07:00
Chris Robinson
1e8e63067c
Remove an unnecessary subtraction
2022-04-01 09:47:32 -07:00
Chris Robinson
6f9311b1ba
Don't manually reverse samples
2022-03-31 13:07:58 -07:00
Chris Robinson
7c60d0f163
Invert a check to put the first taken path first
2022-03-31 08:36:34 -07:00
Chris Robinson
9d240becad
Make and use a processHfScale function with a separate output
2022-03-31 06:11:47 -07:00
Chris Robinson
d91b68ef8e
Avoid some explicit extern "C"s on function definitions
2022-03-31 05:20:16 -07:00
Chris Robinson
abfb584f14
Simplify al::byte
...
It's just an alias for unsigned char now, and no longer strongly-typed like
std::byte.
2022-03-30 15:52:15 -07:00
Chris Robinson
4999b5716c
Remove a dead store
2022-03-30 05:01:42 -07:00
Chris Robinson
6718a49486
Replace a few asserts with actual checks or ASSUME()
2022-03-30 05:01:06 -07:00
Chris Robinson
9537c77105
Avoid some redundant variable assignments
2022-03-30 04:32:40 -07:00
Chris Robinson
f15106e77f
Remove the reversed all-pass trick in MixDirectHrtfBase
...
Given the minimum phase HRTF, it's not going to stay linear phase anyway.
2022-03-30 04:06:00 -07:00
Chris Robinson
a033f8c274
Add missing include
2022-03-30 01:44:09 -07:00
Chris Robinson
51796ccbed
Move assume_aligned to opthelpers.h and define force_inline
2022-03-30 01:33:32 -07:00
Chris Robinson
325c992bea
Avoid a shadow declaration warning
2022-03-30 01:25:36 -07:00
Chris Robinson
1410a8e03a
Slightly improve code flow for ASSUME
2022-03-29 22:13:34 -07:00
Chris Robinson
6bc1787a3b
Make and use a Default enum for StereoEncoding
2022-03-29 11:48:57 -07:00
Chris Robinson
4ca8992fbd
Rename ALC_STEREO_PLAIN_SOFT and don't duplicate ALC_HRTF_SOFT
2022-03-29 11:48:57 -07:00
Glyn Leine
a752d920d1
constexpr functions are not allowed to have static variables, and if they are constexpr anyways then them being static has no benifit ( #677 )
2022-03-29 08:46:49 -07:00