aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Enhance reverb using B-Format processingChris Robinson2016-10-031-405/+386
| | | | | | | | | | | | Technically it uses A-Format processing from the B-Format input and output. But this attempts to provide better spatial definition to the reverberation so that it can be used in a more generic fashion, allowing it to be decoded as any other B-Format signal to whatever output is needed, and also allowing for a bit of height information when the output is capable of such. There may still be some kinks to work out, such as properly decorrelating the early reflection taps and tweaking the late reverb density. But it seems to be a good enough start.
* Finalize AL_SOFT_gain_clamp_exChris Robinson2016-10-033-6/+6
|
* Update the ambisonic coefficients for HRTFChris Robinson2016-09-261-15/+15
| | | | | | | This uses an AllRAD-derived decoder matrix for the high frequencies, which seems to improve positioning response. It also switches back to dual-band. The low frequencies appear to be unexpectedly quiet by comparison, but it's not that bad and can be tweaked later.
* Add a volume-adjust config option to adjust the source output volumeChris Robinson2016-09-245-6/+32
| | | | | | | | | Designed for apps that either don't change the listener's AL_GAIN, or don't allow the listener's AL_GAIN to go above 1. This allows the volume to still be increased further than such apps may allow, if users find it too quiet. Be aware that increasing this can easily cause clipping. The gain limit reported by AL_GAIN_LIMIT_SOFT is also affected by this.
* Remove some more unnecessary volatilesChris Robinson2016-09-241-5/+5
|
* Recognize Headset formfactors as headphonesChris Robinson2016-09-211-1/+3
|
* Skip audio packets that fail to decode in alffplayChris Robinson2016-09-141-1/+5
|
* Merge pull request #63 from adrianbroher/gnuinstalldirkcat2016-09-142-28/+35
|\ | | | | Use GNUInstallDirs to place the build artifacts properly
| * Use GNUInstallDirs for generated pkg-config fileMarcel Metz2016-09-061-3/+3
| | | | | | | | Continuation of 6387933
| * Use GNUInstallDirs to place the build artifacts properlyMarcel Metz2016-09-062-25/+32
| | | | | | | | | | | | | | | | CMake 2.8.5 added the GNUInstallDirs module, which provides various variables following the CMAKE_INSTALL_*DIR pattern to allow users a more flexible installation setup and to provide sensible defaults while respecting distribution specific install locations like lib64 for RPM based linux distributions or debian multiarch tuples.
* | Fix EAX reverb effect output for HRTF and UHJChris Robinson2016-09-131-2/+2
| |
* | Fix the libatomic checkChris Robinson2016-09-131-4/+14
| |
* | Merge pull request #70 from snikulov/appveyor_win_cikcat2016-09-131-0/+14
|\ \ | | | | | | build: added appveyor-ci script to verify windows build
| * | build: added appveyour-ci script to verify windows buildSergei Nikulov2016-09-131-0/+14
|/ /
* | Check for libatomic, in case C11 atomics need itChris Robinson2016-09-121-0/+9
| |
* | Call ALfilterState_processC directlyChris Robinson2016-09-124-10/+2
| | | | | | | | | | | | It's the only implementation currently, so there's no point to having it stored as a function pointer in the filter struct. Even if there were SIMD versions, it'd be a global selection, not per-instance.
* | Check if -mfpu=neon is available for compiling the NEON mixerChris Robinson2016-09-121-1/+9
| |
* | Write to the correct outputs for extra reverb channelsChris Robinson2016-09-111-2/+2
| |
* | Combine the reverb decorrelator delay line with the main delay lineChris Robinson2016-09-111-46/+26
| | | | | | | | | | | | | | Since it was merely acting as an extension of it anyway, with the second delay line tap (for late reverb) copying attenuated samples to the decorrelator line that was being tapped off of. Just extend the delay line and offset the decorrelator taps to be relative to the late reverb tap.
* | Mark a global variable declaration as externChris Robinson2016-09-111-1/+1
| |
* | Don't warn if the desired default HRTF is already firstChris Robinson2016-09-101-4/+4
| |
* | Handle UTF-8 output on Windows in openal-infoChris Robinson2016-09-091-0/+65
| |
* | Reduce the volume for the HRTF ambisonic decoderChris Robinson2016-09-081-14/+14
| | | | | | | | | | | | | | Since it's accumulating multiple HRIRs for two output speakers, it seems to be a better option to preserve the amplitude of the high-frequency decoder instead of increasing it, and reduce the amplitude of the low-frequency decoder to compensate.
* | Allow specifying the device to open for the examplesChris Robinson2016-09-088-51/+89
| |
* | Only WARN if GetProcPath fails to find the binaryChris Robinson2016-09-081-1/+1
| |
* | Try increasing the stack size if thread creation failsChris Robinson2016-09-081-7/+25
| | | | | | | | Also increase the default stack size to 2MB.
* | Merge pull request #64 from tpetazzoni/arm-neon-fixkcat2016-09-081-0/+1
|\ \ | | | | | | Build NEON code with -mfpu=neon
| * | Build NEON code with -mfpu=neonThomas Petazzoni2016-09-061-0/+1
| |/ | | | | | | | | | | | | | | | | | | The ARM-specific NEON code needs to be built with -mfpu=neon to avoid build failures when a difference FPU is used by default by the compiler. Fixes issue #54. Signed-off-by: Thomas Petazzoni <[email protected]>
* | Properly check if /proc/cpuinfo openedChris Robinson2016-09-081-1/+1
| |
* | Use a few more HRIRs for the HRTF B-Format decoderChris Robinson2016-09-071-19/+31
| | | | | | | | | | 14 in total, an 8-point cube and a 6-point diamond shape, to help improve sound localization a bit. Incurs no real extra CPU cost once the IRs are built.
* | Check for run-time NEON support by reading /proc/cpuinfoChris Robinson2016-09-071-2/+32
| | | | | | | | | | | | Less than ideal since documentations warn it may not list 'neon' even if it's really supported. However, the "proper" APIs to check for NEON extensions don't seem to exist in my toolchain.
* | Simplify mmdevapi's device name searchChris Robinson2016-09-071-17/+33
| | | | | | | | | | Avoids converting each enumerated devid from WSTR to UTF-8, and instead just converts the device name from UTF-8 to WSTR once if needed.
* | Merge pull request #65 from Dmytry/dmytry_github_masterkcat2016-09-072-8/+46
|\ \ | | | | | | mmdevapi: Allow specifying output device by it's audio endpoint GUID …
| * | mmdevapi: Allow specifying output device by it's audio endpoint GUID or by ↵Dmytry Lavrov2016-09-062-8/+46
| | | | | | | | | | | | the device id string (Oculus VR api requires you to play back on a specific device).
* | | Properly align 16-bit fields in the Hrtf structChris Robinson2016-09-071-10/+20
| | |
* | | Use unsigned int shifts for device flagsChris Robinson2016-09-071-5/+5
|/ /
* | Make the SelectMixer function sharableChris Robinson2016-09-064-26/+14
| |
* | Use the optimized mixing functions for reverb outputChris Robinson2016-09-061-83/+117
| |
* | Use deinterlaced buffers for the intermediate reverb storageChris Robinson2016-09-061-119/+137
|/
* Remove use of DECL_CONSTChris Robinson2016-09-065-19/+17
| | | | | No idea if it was really gaining us anything, but removing it fixes a crash I was getting with libs built with Clang.
* Do reverb modulation before band-pass filteringChris Robinson2016-09-061-7/+6
| | | | | | | Ideally the band-pass should probably happen closer to output, like gain is. However, doing that would require 16 filters (4 early + 4 late channels, each with a low-pass and high-pass filter), compared to the two needed to do it on input.
* Rename some variables for clarityChris Robinson2016-09-061-28/+30
|
* Use more correct cube decoder matricesChris Robinson2016-09-052-16/+16
|
* Do multiple samples at once for reverb modulationChris Robinson2016-09-051-38/+49
|
* Use a predefined identity matrixChris Robinson2016-09-055-30/+14
|
* Correct a comment about B-Format conversionChris Robinson2016-09-051-1/+1
|
* Rename MatrixMixerFunc to RowMixerFuncChris Robinson2016-09-026-14/+14
|
* Calculate a variable closer to where it's usedChris Robinson2016-09-011-5/+5
|
* Use MixMatrixRow to upsample the split frequency bands to the outputChris Robinson2016-09-011-30/+12
|
* Remove unnecessary constsChris Robinson2016-08-311-4/+4
| | | | They were causing GCC's built-in atomic cmpxchg to complain.