aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v1.19' of git://repo.or.cz/openal-soft into v1.19v1.19Sven Gothel2019-04-07199-24889/+44915
|\
| * Handle a missing default WASAPI device IDChris Robinson2019-02-201-1/+1
| | | | | | | | Backported fix from d1a86075 on master.
| * Fix Resample_bsinc_SSE pointer casts.John Preston2018-11-081-1/+1
| | | | | | | | Regression was introduced in 5ec11a017c.
| * Workaround lack of roundf with early MSVCChris Robinson2018-11-021-0/+12
| |
| * Use HUGE_VALF instead of INFINITYChris Robinson2018-11-021-1/+2
| | | | | | | | Older MSVC lacks INFINITY, and we define a HUGE_VALF fallback when needed.
| * Specify the correct array size for castingChris Robinson2018-11-021-2/+2
| |
| * Use GCD semaphore on macOSalexey.lysiuk2018-11-022-0/+43
| | | | | | Unnamed POSIX semaphore doesn't work on macOS
| * Release 1.19.1openal-soft-1.19.1Chris Robinson2018-10-111-1/+1
| |
| * Use the common init/close functions for alffplayChris Robinson2018-10-102-34/+16
| |
| * Allow building alffplay without experimental extensionsChris Robinson2018-10-081-12/+42
| |
| * Add a comment about waiting to kill the event threadChris Robinson2018-10-071-0/+5
| |
| * Use a 24-bit dither depth limitChris Robinson2018-10-031-1/+1
| |
| * Don't limit output for ALC_DONT_CARE_SOFT and float samplesChris Robinson2018-10-032-7/+27
| |
| * Don't try to get the JNIEnv on AndroidChris Robinson2018-10-023-82/+7
| | | | | | | | | | It's currently not used. More stuff is needed anyway which may need a different approach.
| * Add back an inadvertently removed staticChris Robinson2018-10-021-1/+1
| |
| * Use < instead of != for some loop checksChris Robinson2018-10-011-2/+2
| |
| * Don't scale the reverb fade counter so muchChris Robinson2018-09-301-5/+6
| |
| * Ensure BUFFERSIZE is a power of 2Chris Robinson2018-09-301-2/+4
| |
| * Make the Compressor struct opaqueChris Robinson2018-09-303-73/+71
| |
| * Fix some length rangesChris Robinson2018-09-291-2/+8
| |
| * Improve a couple loopsChris Robinson2018-09-291-7/+15
| | | | | | | | | | | | Avoid masking the index with each iteration, and instead do up to when the mask would apply. This allows for better optimizations, in particular fewer instructions and better chances for vectorization.
| * Don't use a ringbuffer design for the limiter's side chainChris Robinson2018-09-292-39/+37
| | | | | | | | | | | | Rather than continuously wrapping when used, each update uses it from the front and copies the tail to the front at the end. This allows for more effficient accesses in loops.
| * Add some assumes for the limiterChris Robinson2018-09-291-0/+17
| |
| * Simplify a lower-bound clampChris Robinson2018-09-281-2/+1
| |
| * Constify a couple more variablesChris Robinson2018-09-281-2/+2
| |
| * Update changelogChris Robinson2018-09-261-0/+3
| |
| * Include the limiter's lookAhead delay in the device latencyChris Robinson2018-09-256-8/+25
| |
| * Don't hardcode the limiter thresholdChris Robinson2018-09-251-8/+23
| | | | | | | | It's now calculated from the output sample type and dither depth.
| * Update the output limiter/compressorChris Robinson2018-09-254-168/+431
| | | | | | | | | | | | | | | | | | | | This provides better characteristics for an amplitude limiter. In particular, it utilizes the peak amplitude instead of the RMS, and the used parameters basically guarantee no output samples exceed the given threshold... almost, due to floating-point errors as the threshold is converted from dB to log-e for the envelope, then is negated and converted to linear amplitude to apply to the signal. It's quite possible for some rounding errors to creep in and not perfectly saturate the result.
| * Only compare the reverb params that induce a need for fadingChris Robinson2018-09-231-23/+41
| | | | | | | | | | | | | | The offsets and coefficients are controlled by a relatively small set of input parameters, just with different base constants or different calculations. This lead to numerous redundant checks since if one value didn't change, others that use the same inputs wouldn't have either.
| * Clear reverb gain coefficients when doing a device updateChris Robinson2018-09-231-0/+49
| |
| * Rename ALreverbState to ReverbStateChris Robinson2018-09-231-23/+23
| |
| * Update changelogChris Robinson2018-09-221-0/+13
| |
| * Improve the gain stepping difference checkChris Robinson2018-09-223-12/+15
| | | | | | | | | | Given the more stable stepping now in use, check that the total difference is enough for perceptible transition, instead of the step itself.
| * Adjust comment spacingChris Robinson2018-09-211-1/+1
| |
| * Use an internal event to more timely release old effect statesChris Robinson2018-09-214-5/+47
| |
| * Remove an unnecessary mutexChris Robinson2018-09-203-5/+0
| |
| * Stop the event thread when releasing the contextChris Robinson2018-09-201-6/+6
| | | | | | | | To ensure no user callback gets called after alcDestroyContext.
| * Put user events in a union structureChris Robinson2018-09-206-36/+43
| |
| * Always start the event thread with the contextChris Robinson2018-09-203-45/+31
| |
| * Remove another duplicate functionChris Robinson2018-09-1916-59/+42
| |
| * Combine nearly-duplicate structuresChris Robinson2018-09-194-24/+15
| |
| * Remove a couple duplicate functionsChris Robinson2018-09-193-35/+8
| |
| * Add macros for commonly used square rootsChris Robinson2018-09-194-19/+22
| |
| * Use ALsizei for the source resample positionChris Robinson2018-09-185-8/+5
| |
| * Properly queue buffers for OpenSL captureChris Robinson2018-09-171-32/+9
| |
| * Fix some potential race conditions with OpenSLChris Robinson2018-09-171-42/+62
| | | | | | | | | | | | | | | | | | For playback, increment the ring buffer's write pointer before queueing audio, to handle cases where the callback is invoked, advancing the read pointer, before the write pointer is advanced. For capture, limit the number of re-queued chunks to the number of fully read chunks.
| * Handle the bsinc C resampler like the othersChris Robinson2018-09-175-49/+38
| |
| * Fix buffer queue mixing logicChris Robinson2018-09-161-11/+13
| | | | | | | | | | | | In particular, the source sample position was reduced by the size of the next buffer list item when one is completed, rather than the size of the one it just completed.
| * Check the effect slot list size only when there's no free entriesChris Robinson2018-09-141-6/+7
| | | | | | | | | | The list can contain (reuable) NULL entries, so the max - current_size doesn't indicate how many can be allocated.