aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow the sample type to get changed on SolarisChris Robinson2021-01-291-6/+10
|
* Merge pull request #524 from Cacodemon345/patch-1kcat2021-01-291-0/+1
|\ | | | | Fix compilation on Solaris backend
| * Fix compilation on Solaris backendCacodemon3452021-01-291-0/+1
|/
* Add a panning "deadzone" for spatialized sourcesChris Robinson2021-01-282-3/+4
| | | | It is now the greater of 'epsilon' (1 / 2**23) or ref_distance/1024.
* Export EFX functions from the routerChris Robinson2021-01-275-1/+152
|
* Ignore SI-style configuration strings for device namesChris Robinson2021-01-271-0/+5
|
* Rework fading of stopped soundsChris Robinson2021-01-271-22/+13
| | | | | | | Voices that stop and have no more accessible samples now fade out over 64 samples max. The extra loaded samples are also prevented from moving away from 0 amplitude. Paused voices that still have samples will still fade out over the whole mix.
* Make sure InitVoice is given a valid buffer queue itemChris Robinson2021-01-261-2/+2
|
* Move al::deque to a common headerChris Robinson2021-01-253-7/+18
|
* Use an AL-specific buffer queue item struct for sourcesChris Robinson2021-01-255-79/+68
|
* Use a deque for the source buffer queueChris Robinson2021-01-252-149/+121
| | | | | | This mainly avoids having to allocate ~64-byte structures individually. The mixing voice still holds the queue as a linked list so as to be container- agnostic.
* Store the callback in the buffer list itemChris Robinson2021-01-244-61/+64
|
* Store buffer info in the queue entryChris Robinson2021-01-2421-78/+103
|
* Remove some unnecessary function attributesChris Robinson2021-01-231-4/+4
| | | | | | | | The alloc_size was wrong anyway since the function parameter takes the number of objects to be allocated and the attribute declares which is the number of bytes. The assume_aligned is unnecessary since the function is inlined and al_malloc/al_calloc already have appropriate attributes for the compiler to see.
* Set the correct default buffer bits/formatChris Robinson2021-01-222-3/+3
|
* Don't bother checking for std::aligned_allocChris Robinson2021-01-223-25/+2
|
* Fix setting the correct standards flagChris Robinson2021-01-221-2/+10
|
* Ensure the correct standard is set for cmake checksChris Robinson2021-01-221-0/+2
|
* Remove an unnecessary semicolonChris Robinson2021-01-221-1/+1
|
* Fix __cplusplus value checkChris Robinson2021-01-221-1/+1
|
* Use if constexpr when possibleChris Robinson2021-01-225-6/+15
|
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-2212-113/+145
|
* Use a standard bitset for bitfield flagsChris Robinson2021-01-229-100/+56
|
* Make the endian test more C++-likeChris Robinson2021-01-216-31/+55
|
* Update apt before installing dependenciesChris Robinson2021-01-211-1/+1
|
* Fix handling paused devices with the wave writer backendChris Robinson2021-01-211-10/+14
|
* Simplify a divisionChris Robinson2021-01-211-1/+1
| | | | | The division opcode typically also generates the remainder, making the result of x%y free with x/y.
* Avoid declaring some variables multiple timesChris Robinson2021-01-211-6/+7
|
* Avoid global constexpr arraysChris Robinson2021-01-2110-154/+172
|
* Update ChangeLogChris Robinson2021-01-201-0/+2
|
* Revert "Print the build results after CI"Chris Robinson2021-01-201-6/+0
| | | | This reverts commit e1e0809253b6a361a5d9862d887de2557bbe9742.
* Print the build results after CIChris Robinson2021-01-201-0/+6
|
* Avoid extra copies/work when reading HRTF dataChris Robinson2021-01-201-8/+12
|
* Avoid explicitly searching for the WindowsSDKChris Robinson2021-01-193-700/+23
| | | | | | It's causing problems with various setups. So instead we'll have to assume some things for Windows (namely that winmm exists, and if dsound isn't in DXSDK_DIR, it needs to be in the compiler's default paths to be usable).
* Remove constexpr from a functionChris Robinson2021-01-171-6/+1
| | | | | Various versions of GCC have a problem with it, and it doesn't really add much benefit anyway.
* First try at using GitHub ActionsChris Robinson2021-01-171-0/+63
|
* Avoid calling readAdvance in a loopChris Robinson2021-01-171-3/+5
|
* Don't assume the ring buffer's read vector is the next writable spaceChris Robinson2021-01-151-30/+36
| | | | | This is untrue since the ring buffer leaves one element unwritten, so there's one extra element to be written once a readable element is read.
* Use a span instead of passing a vector by referenceChris Robinson2021-01-111-5/+5
|
* Make sure proper names are used for querying PulseAudio infoChris Robinson2021-01-101-5/+5
|
* Merge pull request #515 from ilya-fedin/pulse-nullptr-defaultkcat2021-01-101-42/+13
|\ | | | | Pass nullptr to pulse for default device
| * Pass nullptr to pulse for default deviceIlya Fedin2021-01-101-42/+13
|/
* Remove the invalid noexcept specificationChris Robinson2021-01-081-1/+1
|
* Quickly fade out samples of a stopping voiceChris Robinson2021-01-081-0/+20
| | | | | Rather than linearly fading out the mix over the mixing update, logarithmically fade out the post-resampled samples by approx -60dB per millisecond.
* Avoid dereferencing the end iteratorChris Robinson2021-01-081-4/+4
|
* Ensure the endian test is constexprChris Robinson2021-01-061-5/+6
|
* Avoid duplicating an inline template functionChris Robinson2021-01-061-21/+4
|
* Properly trace the new HRTF delay for the B-Format decoderChris Robinson2021-01-061-2/+2
|
* Use a template to read integers with endian awarenessChris Robinson2021-01-061-70/+83
|
* Return non-const from the resampler functionChris Robinson2021-01-027-51/+40
|