aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a variable to handle a long value definitionChris Robinson2023-01-181-2/+3
|
* Make a variable for a reused valueChris Robinson2023-01-173-3/+4
|
* Use a better frequency bin target for pitch shiftingChris Robinson2023-01-172-23/+47
| | | | And slightly adjust the Hann window.
* Fix debug logging on Windows non-release buuildsChris Robinson2023-01-162-6/+2
| | | | And skip logging for appropriate log levels on Windows release builds.
* Change a couple macros to constexpr variablesChris Robinson2023-01-1611-39/+39
|
* Check for nullptr before constructing a new objectChris Robinson2023-01-151-5/+5
|
* Use an 8-bit type to hand the HrtfStore IR sizeChris Robinson2023-01-151-7/+7
| | | | | Since the max IR size is 128, and HrtfStore only uses 8 bits for the IR size member. Silences a truncation warning given by GCC.
* Precalculate reused scale factorsChris Robinson2023-01-152-2/+2
|
* Fix closing parenthesisChris Robinson2023-01-151-1/+1
|
* clang-tidy cleanups (#800)Rosen Penev2023-01-1520-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Don't explicitly try to spawn servers by defaultChris Robinson2023-01-143-3/+3
|
* Don't include the array definition with bin2hChris Robinson2023-01-133-7/+8
|
* Don't use doubles for upsampling B-Format transformsChris Robinson2023-01-131-3/+3
|
* Ensure the mixer helpers are properly inlinedChris Robinson2023-01-134-9/+10
|
* Try to handle cmake custom targets betterChris Robinson2023-01-131-2/+16
|
* Avoid using a non-0 span length over nullptrChris Robinson2023-01-131-17/+32
|
* Write proper samples when starting the PulseAudio streamChris Robinson2023-01-131-17/+3
| | | | | Instead of silence, to ensure the number of samples written to PulseAudio is the same as the number mixed/rendered.
* Avoid a dead storeChris Robinson2023-01-131-1/+0
|
* Avoid inlining the base_exception destructorChris Robinson2023-01-132-1/+3
|
* Avoid single-use static class method wrappersChris Robinson2023-01-131-81/+46
|
* Avoid unnecessary uses of make_optionalChris Robinson2023-01-1314-90/+92
|
* Use cmake's visibility attributesChris Robinson2023-01-121-17/+6
|
* Rename some members for clarityChris Robinson2023-01-121-22/+22
|
* Fix RingBuffer crash in OpenSL backend (#807)IamSN0WBALL2023-01-121-1/+1
| | | Co-authored-by: IamSN0WBALL <[email protected]>
* Remove the FFT'd resampler from makemhrChris Robinson2023-01-111-93/+0
| | | | | Both SOFA and non-SOFA inputs use the polyphase resampler as needed when loading the IRs.
* Use a span instead of a count+pointerChris Robinson2023-01-113-13/+9
|
* Rename some struct membersChris Robinson2023-01-104-69/+72
| | | | And make a related function a member function
* Update alsoft-config with the new settingsChris Robinson2023-01-092-7/+38
|
* Don't rely on mRateMatch while waiting for PipeWire timing infoChris Robinson2023-01-091-5/+2
|
* Handle the stereo-encoding option for loopback devices tooChris Robinson2023-01-091-12/+12
|
* Fix handling the ALC_HRTF_SOFT attributeChris Robinson2023-01-091-1/+20
|
* Update a commentChris Robinson2023-01-081-1/+1
|
* Add an option to mix on PipeWire's non-RT threadChris Robinson2023-01-082-14/+20
|
* Simplify void_tChris Robinson2023-01-081-3/+1
|
* Better handle negative sample rate valuesChris Robinson2023-01-081-5/+5
|
* Update alsoft-configChris Robinson2023-01-082-72/+7
|
* Update some config commentsChris Robinson2023-01-082-24/+25
|
* Get device config options earlier in a device updateChris Robinson2023-01-071-310/+275
|
* Avoid using a reversed all-pass for the front stablizerChris Robinson2023-01-066-77/+43
| | | | | | While a neat trick, it's been shown to be too volatile and add noise as the signal gets louder. It's better to just accept the phase shift and ensure everything stays aligned.
* Disable MSVC warning C5051Chris Robinson2023-01-051-1/+1
| | | | | | | | | | "attribute 'attribute-name' requires at least 'standard-level'; ignored" This hides the fact that it's not optimizing [[likely]] and [[unlikely]], even though it could (GCC does, Clang gives a similar warning to MSVC, but is ambiguous about whether it's still doing the optimization). There's nothing I know to do to make MSVC do those optimizations it otherwise knows to do, so just hide the warnings instead of pessimizing the code.
* Rename some lambda parameters to avoid shadowing warningsChris Robinson2023-01-055-15/+15
|
* Combine some duplicate code to mix each channelChris Robinson2023-01-053-330/+186
|
* Add and use mixers that process one input and output channelChris Robinson2023-01-0511-8/+222
|
* Add a simple wrapper to call the mixer functionChris Robinson2023-01-043-5/+11
|
* Simplify handling effect output for spatial effectsChris Robinson2023-01-047-104/+173
| | | | | | | | | | | | Effects are given a 3D ambisonic buffer of the same order as the device, for processing surround sound. Effects that pass input channels to matching output channels as it processes them don't need to mix each input channel to all output channels. At most, an input channel may mix to a different output channel, if the target buffer uses a different channel layout, and need a gain adjustment, if it uses a different scaling. With a 2D output buffer, a number of channels can be skipped altogether.
* Handle negative offset starts for callback buffersChris Robinson2023-01-041-9/+11
|
* Combine multiple al_printf definitionsChris Robinson2023-01-022-58/+49
| | | | And separate the log level prefix from the message.
* Multiply by the inverse instead of divideChris Robinson2023-01-011-4/+4
|
* Fix a commentChris Robinson2023-01-011-2/+1
|
* Handle UHJ better with convolution reverbChris Robinson2023-01-012-44/+68
| | | | | | It's now decoded to B-Format while being FFT'd, and processed as B-Format. Again, not that UHJ should really ever be used for convolution, but it's a valid format someone may want to use despite the overhead from converting it.