aboutsummaryrefslogtreecommitdiffstats
path: root/alc
Commit message (Collapse)AuthorAgeFilesLines
* Inline ALCcontext::has_eaxChris Robinson2022-02-082-6/+1
|
* More accurately detect the EAX speaker configChris Robinson2022-02-081-9/+21
|
* DisabledEffects won't change so EAX can just check it onceChris Robinson2022-02-083-21/+6
|
* EAX various fixes (#657)Boris I. Bendovsky2022-02-082-25/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [EAX] Fix effect GUID validation Only NULL and REVERB was valid. * [EAX] Fix default FX slot flags EAX4 and EAX5 both sets to ENVIRONMENT. * [EAX] Set default values for legacy FX slots in the initialization * [EAX] Fix FX slot locking policy Fail on attempt to load an effect or change a lock for EAX4 "set" call. Unlock legacy FX slots on any EAX5 call. * [EAX] Allow DEFER flag for "get" calls. * [EAX] Make speaker configuration read-only * [EAX] Initialize speaker configuration * [EAX] Commit EAX source on a 3D source parameter call Reference: EAX 4.0 Programmer's Guide * [EAX] Commit EAX source on a 3D listener parameter call Reference: EAX 4.0 Programmer's Guide * [EAX] Commit source when it begins to play Reference: EAX 4.0 Programmer's Guide
* Avoid a proxy ALfilter object for EAX source propertiesChris Robinson2022-02-072-36/+1
|
* Don't pass an ALeffect to ALeffectslot::initEffectChris Robinson2022-02-071-1/+3
|
* Avoid a magic numberChris Robinson2022-02-011-1/+1
|
* Rename Sqrt1_2 for consistencyChris Robinson2022-02-011-5/+5
|
* [EAX] Add primary extension name for EAX v2.0 (#653)Boris I. Bendovsky2022-02-011-2/+6
|
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-304-28/+24
| | | | And disable it by default for non-Windows targets
* Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)Boris I. Bendovsky2022-01-304-0/+1666
| | | | | | | | | | | | | | | * Add EAX extensions (EAX 2.0-5.0, X-RAM) * Comment out C++17 leftovers * Remove everything related to patching * Update alsoftrc.sample * Rewrite integration * Fix GCC compilation under Linux * Always reset EAX effect properties when loading it into FX slot
* Remove math_defs.hChris Robinson2022-01-272-4/+9
|
* Get rid of MathDefsChris Robinson2022-01-2710-39/+38
|
* Start and use a standard-like numbers headerChris Robinson2022-01-272-11/+12
|
* Add some common wrapper methods to ThreadMainloopChris Robinson2022-01-261-42/+46
|
* Default the PipeWire lock's operator= instead of using the baseChris Robinson2022-01-261-1/+1
|
* Handle 5.1 using rear channels with PulseAudio and PipeWireChris Robinson2022-01-252-105/+60
|
* Move some definitions to where they're usedChris Robinson2022-01-241-2/+2
|
* Avoid a messy while loop to remove from a vectorChris Robinson2022-01-221-11/+8
|
* Restructure the PipeWire backend code a bitChris Robinson2022-01-221-219/+235
| | | | | Make some functions into class member functions, and move related declarations closer together.
* Avoid holding a pw_proxy, hold the type it representsChris Robinson2022-01-221-36/+70
|
* Handle duplex devices with PipeWireChris Robinson2022-01-221-22/+43
|
* Load the PipeWire real-time configurationChris Robinson2022-01-171-18/+57
| | | | | This is apparently needed to ensure RT threads get RT priority, separately from requesting RT processing.
* Add an ambi-format option for ACN ordering and FuMa scalingChris Robinson2022-01-121-0/+15
|
* Use a different output matrix for late reverbChris Robinson2022-01-111-14/+22
| | | | | | | | | | This is a slightly reoriented tetrahedron, with responses on the front-left and front-right, along with upper-back and lower-back. This is a alternative matrix suggested for converting the A-Format late reverb lines back to B-Format. Also alter the matrix scaling to be less destructive. x0.5 is just reducing the floating-point exponent by 1, whereas the previous values would be more likely to introduce rounding errors just from scaling.
* Add a third-order ambisonic decoder for HRTFChris Robinson2022-01-051-2/+59
| | | | | Using the 20-channel dodecahedron, seems to be good enough to handle 16-channel third-order ambisonics.
* Update the HRTF second-order ambisonic decoderChris Robinson2022-01-041-42/+27
| | | | This only needs 14 virtual channels instead of 20.
* Avoid a static-sized char array on the stackChris Robinson2021-12-311-16/+22
|
* Avoid some unnecessary copyingChris Robinson2021-12-311-10/+9
|
* Some more restructuring of the PipeWire backendChris Robinson2021-12-301-73/+58
|
* Set the node rate for the pipewire capture stream tooChris Robinson2021-12-291-0/+1
|
* Move some constexpr variables to where they're usedChris Robinson2021-12-281-50/+47
|
* C++-ize the PipeWire backend some moreChris Robinson2021-12-281-61/+94
| | | | | | | | | Use unique_ptrs for a few more types to avoid explicit free calls. Move ThreadMainloop::wait to the unique_lock wrapper that's holding the lock. Since the mainloop acts as both a lock and condition_variable, passing the lock to the wait method makes no sense. Also have it optionally take a predicate functor to dictate when to stop waiting.
* Trace the device format after starting playbackChris Robinson2021-12-271-0/+7
| | | | | Some devices can change it when starting, so it's useful to know what the device configuration is when that happens.
* Increase the priority of the PipeWire backendChris Robinson2021-12-251-6/+6
|
* Check for audio devices when initializing PipeWireChris Robinson2021-12-251-3/+64
| | | | | | | | | | | This isn't great since it can fail when PipeWire is handling audio but no devices are available at initialization, causing the Pulseaudio or ALSA backend to be selected instead. Future versions of PipeWire are expected to have a better way to detect if it's handling audio, but for now this is better than nothing. A config option is available for users to have the PipeWire backend be usable even with no devices at initialization, just in case.
* Use a bitset instead of a plain uint for flagsChris Robinson2021-12-231-5/+5
|
* Don't do direct channels with UHJ outputChris Robinson2021-12-212-21/+17
| | | | | | | | | | Directly mixing a non-UHJ stereo signal into a UHJ stereo signal results in a non-UHJ stereo signal. Such a mix can't be properly decoded anymore. An option can probably be added for users that intend to listen to UHJ output undecoded and let a stereo sound come through as-is on their speakers, but it probably shouldn't be the default for cases where the output may be decoded back.
* Work around a MinGW thread_local bugChris Robinson2021-12-203-7/+29
| | | | | | | | | | MinGW-w64 generates bad code when accessing extern thread_local objects. Wrapper functions are used to ensure it only accesses them from the same place they're defined. This unfortunately adds a bit of overhead for what should be a relatively simple thing. These functions are inlined for non-MinGW targets, avoiding the overhead on non-affected targets.
* Move some more context functions to the proper sourceChris Robinson2021-12-171-76/+0
|
* Move the effects base and effectslot to coreChris Robinson2021-12-1719-331/+19
|
* Move some ContextBase function definitions to the right placeChris Robinson2021-12-171-64/+0
|
* Remove an unnecessary parameterChris Robinson2021-12-171-14/+10
|
* Allocate voice properties in clustersChris Robinson2021-12-172-23/+27
|
* Set the PipeWire stream rateChris Robinson2021-12-161-0/+1
| | | | | When requesting a non-default rate, this may allow the hardware to run at the requested rate.
* Add source properties for Super StereoChris Robinson2021-12-153-0/+12
| | | | | When playing a stereo format, enabling Super Stereo causes the source to behave as a B-Format source, with a variable width control.
* Make an inline function to check for 2D ambisonic formatsChris Robinson2021-12-122-8/+4
|
* Avoid initializing the NFC filter for every voice channelChris Robinson2021-12-112-0/+5
| | | | | | It can be initialized once with the device's speaker distance since it won't change in between resets, then copied into the voice where it can be adjusted as needed.
* Add an internal Super Stereo formatChris Robinson2021-12-112-7/+8
| | | | | | | It's not available as an AL buffer format (yet) since I'm not sure how to expose it. Internally it seems fine as a separate channel configuration, but because OpenAL combines the channel configuration and sample type, a flag may work better there.
* Adjust the crossover frequency for HRTF ambisonic decodingChris Robinson2021-12-081-0/+13
|