aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Avoid extraneous temporaries when filling vectorsChris Robinson2022-12-155-9/+29
|
* Fix paths for creating the archiveChris Robinson2022-12-151-2/+2
|
* Build with PipeWire in GitHub CIChris Robinson2022-12-151-1/+3
|
* Include the router in the github actions archiveChris Robinson2022-12-151-1/+11
|
* Define a destructor as default instead of emptyChris Robinson2022-12-151-1/+1
|
* Better handle span sources from iteratorsChris Robinson2022-12-145-28/+75
|
* Avoid manually specifying FFT template parametersChris Robinson2022-12-146-26/+47
|
* Implement an al::unreachable wrapper/helperChris Robinson2022-12-133-11/+22
|
* Rename a potentially confusing member functionChris Robinson2022-12-085-11/+11
|
* Limit voice update fading length to 64 samplesChris Robinson2022-12-081-13/+7
|
* Avoid setting PipeWire stream properties with separate callsChris Robinson2022-12-061-12/+11
|
* Avoid using a macro to wrap standard attributesChris Robinson2022-12-0634-502/+494
|
* Don't warn for attributes being in a later standardChris Robinson2022-12-051-0/+5
| | | | | | | | | | C++ specifies that unknown attributes should be ignored and aren't an error. Clang issues a warning when encountering a known attribute from newer standard version than the target version. GCC recognizes attributes from newer standard versions it's aware of, allowing improved compilation capabilities. Hopefully Clang (and MSVC) will take advantage since it recognizes them, even if they weren't standardized for the target version, but there's no need to warn about known attributes in either case.
* Avoid LIKELY/UNLIKELY macrosChris Robinson2022-12-058-171/+169
|
* Avoid some uses of the LIKELY/UNLIKELY macrosChris Robinson2022-12-0515-214/+217
|
* Use standard likely/unlikely attributes when availableChris Robinson2022-12-0519-155/+141
|
* Use the correct variable for reading the WASAPI playback rateChris Robinson2022-12-051-2/+2
|
* Fix building with PipeWire 0.3.49 and earlierChris Robinson2022-12-021-0/+19
|
* Add more formats for displaying in examplesChris Robinson2022-11-291-0/+35
|
* Add missing device_clock/source_latency enums for queryingChris Robinson2022-11-291-0/+9
|
* Use the existing common FFT functions in makemhrChris Robinson2022-11-272-84/+16
|
* Use complex floats for convolution reverb FFTsChris Robinson2022-11-245-37/+49
|
* Avoid returning an array for constexpr tablesChris Robinson2022-11-241-38/+35
|
* Avoid overriding main with SDLChris Robinson2022-11-233-2/+12
|
* Don't prematurely change ALCdevice::BufferSizeChris Robinson2022-11-221-7/+11
|
* Fix WASAPI capture handling the background COM threadChris Robinson2022-11-191-18/+30
|
* Update alsoft-config for new optionsChris Robinson2022-11-172-51/+89
|
* Remove unnecessary use of SDL2_INCLUDE_DIRChris Robinson2022-11-161-2/+0
|
* Add GitHub actions workflow to build utils/makemhr on update (#783)3DJ2022-11-161-0/+76
| | | | | | | | * Build utils/makemhr on update This workflow builds makemhr.exe including dependencies (libmysofa, zlib, etc) whenever anything under utils/makemhr or the workflow is updated. It also uploads artifacts and [(pre)releases it with its own tag](https://github.com/ThreeDeeJay/openal-soft/releases/tag/makemhr) for a [permanent, up-to-date download link](https://github.com/ThreeDeeJay/openal-soft/releases/download/makemhr/makemhr.zip). * Clone latest libmysofa release tag without history
* Fix router not loading on Creative's hardware OpenAL (#773)Felipe2022-11-161-12/+22
| | | | | | | | | | | | | | | According to the programming guide and the specification, those functions may be used by extensions. However, Creative's hardware OpenAL chose to not implement stub functions for those that they do not use. Currently they use only alBufferi for X-RAM related functions. Other implementations, such as OpenAL Soft and wrap_oal implement stub functions for those methods therefore they work. This commit turns those functions optional, just like they were in the old FOSS router. Consumers of the router will receive a nullptr as expected for not implemented methods if they load them using alGetProcAddress, which I believe is the correct way to do so. That is, the context must be current before loading al* functions.
* Avoid a use-after-free in the ALSA backendChris Robinson2022-11-161-12/+12
|
* Use SDL2's sdl2-config.cmakeChris Robinson2022-11-162-199/+11
| | | | Instead of our own custom FindSDL2.cmake
* Avoid unnecessary duplicate CMake variablesChris Robinson2022-11-162-11/+2
| | | | | This should make FindPulseAudio.cmake more compatible with PulseAudio's own PulseAudioConfig.cmake.
* Use the correct frame size for WASAPI resamplingChris Robinson2022-11-131-2/+2
|
* Avoid a potential unsigned underflowChris Robinson2022-11-131-1/+1
|
* Change a function to a static methodChris Robinson2022-11-134-9/+9
|
* Avoid duplicate checks and calculationsChris Robinson2022-11-131-12/+8
|
* Add a config option to prevent WASAPI from using a resamplerChris Robinson2022-11-122-1/+13
|
* Add a resampler to WASAPI outputChris Robinson2022-11-121-10/+75
| | | | | | | This allows mixing at various samples rates that WASAPI doesn't otherwise support. This is mostly helpful for users that have unnecessarily high device rates (96 or 192khz), and lets the ALC_FREQUENCY attribute or frequency config option set a lower mixing rate for more efficient processing.
* Fix SampleConverter source read countChris Robinson2022-11-122-47/+23
|
* Add a method for the input sample delay for the SampleConverterChris Robinson2022-11-122-1/+14
|
* Dynamically start/stop the WASAPI message threadChris Robinson2022-11-121-86/+117
|
* Try to detect the update and buffer size from PipeWireChris Robinson2022-11-081-4/+45
|
* Make sure sio_write and sio_read return valid valuesChris Robinson2022-11-071-5/+12
|
* Support different input channel orders in uhjencoderChris Robinson2022-11-041-12/+39
|
* Add preliminary support for 7.1.4 output modesChris Robinson2022-11-0319-6/+201
| | | | | | | | I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start.
* Add functions to start sources at a particular device timeChris Robinson2022-11-034-161/+247
| | | | | | | | This starts a source at a particular device clock time, rounded to the nearest sample (really, 4th sample for SIMD reasons), allowing to start a sound at a particular point in the output instead of the next update. Unlike using negative offsets, this is not affected by pitch/velocity.
* Add the ability to start a voice at a particular timeChris Robinson2022-11-034-9/+49
|
* int64_t max can't fit into a double without narrowingChris Robinson2022-11-021-6/+0
|
* Handle negative voice positionsChris Robinson2022-11-023-64/+116
| | | | | | This allows a voice/source to start with a delay, more accurately than simply waiting to call alSourcePlay. The delay is affected by pitch and velocity, making it useful to simulate distant sounds that take time to be heard.