Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark a global variable declaration as extern | Chris Robinson | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | Don't warn if the desired default HRTF is already first | Chris Robinson | 2016-09-10 | 1 | -4/+4 |
| | |||||
* | Handle UTF-8 output on Windows in openal-info | Chris Robinson | 2016-09-09 | 1 | -0/+65 |
| | |||||
* | Reduce the volume for the HRTF ambisonic decoder | Chris Robinson | 2016-09-08 | 1 | -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 examples | Chris Robinson | 2016-09-08 | 8 | -51/+89 |
| | |||||
* | Only WARN if GetProcPath fails to find the binary | Chris Robinson | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Try increasing the stack size if thread creation fails | Chris Robinson | 2016-09-08 | 1 | -7/+25 |
| | | | | Also increase the default stack size to 2MB. | ||||
* | Merge pull request #64 from tpetazzoni/arm-neon-fix | kcat | 2016-09-08 | 1 | -0/+1 |
|\ | | | | | Build NEON code with -mfpu=neon | ||||
| * | Build NEON code with -mfpu=neon | Thomas Petazzoni | 2016-09-06 | 1 | -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 opened | Chris Robinson | 2016-09-08 | 1 | -1/+1 |
| | | |||||
* | | Use a few more HRIRs for the HRTF B-Format decoder | Chris Robinson | 2016-09-07 | 1 | -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/cpuinfo | Chris Robinson | 2016-09-07 | 1 | -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 search | Chris Robinson | 2016-09-07 | 1 | -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_master | kcat | 2016-09-07 | 2 | -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 Lavrov | 2016-09-06 | 2 | -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 struct | Chris Robinson | 2016-09-07 | 1 | -10/+20 |
| | | | |||||
* | | | Use unsigned int shifts for device flags | Chris Robinson | 2016-09-07 | 1 | -5/+5 |
|/ / | |||||
* | | Make the SelectMixer function sharable | Chris Robinson | 2016-09-06 | 4 | -26/+14 |
| | | |||||
* | | Use the optimized mixing functions for reverb output | Chris Robinson | 2016-09-06 | 1 | -83/+117 |
| | | |||||
* | | Use deinterlaced buffers for the intermediate reverb storage | Chris Robinson | 2016-09-06 | 1 | -119/+137 |
|/ | |||||
* | Remove use of DECL_CONST | Chris Robinson | 2016-09-06 | 5 | -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 filtering | Chris Robinson | 2016-09-06 | 1 | -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 clarity | Chris Robinson | 2016-09-06 | 1 | -28/+30 |
| | |||||
* | Use more correct cube decoder matrices | Chris Robinson | 2016-09-05 | 2 | -16/+16 |
| | |||||
* | Do multiple samples at once for reverb modulation | Chris Robinson | 2016-09-05 | 1 | -38/+49 |
| | |||||
* | Use a predefined identity matrix | Chris Robinson | 2016-09-05 | 5 | -30/+14 |
| | |||||
* | Correct a comment about B-Format conversion | Chris Robinson | 2016-09-05 | 1 | -1/+1 |
| | |||||
* | Rename MatrixMixerFunc to RowMixerFunc | Chris Robinson | 2016-09-02 | 6 | -14/+14 |
| | |||||
* | Calculate a variable closer to where it's used | Chris Robinson | 2016-09-01 | 1 | -5/+5 |
| | |||||
* | Use MixMatrixRow to upsample the split frequency bands to the output | Chris Robinson | 2016-09-01 | 1 | -30/+12 |
| | |||||
* | Remove unnecessary consts | Chris Robinson | 2016-08-31 | 1 | -4/+4 |
| | | | | They were causing GCC's built-in atomic cmpxchg to complain. | ||||
* | Reorganize sample type conversion functions | Chris Robinson | 2016-08-31 | 1 | -286/+129 |
| | | | | To help avoid redundant manual definitions. | ||||
* | Always load HRTF files through memory pointers | Chris Robinson | 2016-08-31 | 1 | -261/+134 |
| | |||||
* | Add some helper wrappers to mmap files | Chris Robinson | 2016-08-31 | 2 | -0/+120 |
| | |||||
* | Initialize some enums to dummy values | Chris Robinson | 2016-08-31 | 1 | -8/+9 |
| | |||||
* | Add a compile-time macro to use dual-band ambisonic HRTF processing | Chris Robinson | 2016-08-30 | 1 | -12/+36 |
| | | | | | Use single-band processing for now, to see if dual-band is causing a drop in quality at all. | ||||
* | Simplify the ambisonic up-sampler | Chris Robinson | 2016-08-30 | 1 | -65/+99 |
| | | | | | It still behaves the same, although now combines the separate decode+encode matrices into a transcode matrix (one per frequency band). | ||||
* | Print whether direct channels are off or on to stdout in alffplay | Chris Robinson | 2016-08-29 | 1 | -1/+4 |
| | |||||
* | Add an option to alffplay to toggle AL_DIRECT_CHANNELS_SOFT | Chris Robinson | 2016-08-29 | 1 | -0/+22 |
| | | | | | Using the 'd' key will toggle the playback source's AL_DIRECT_CHANNELS_SOFT property. Although there is no visual feedback showing when it's on or off. | ||||
* | Remove the upper limit from AL_MIN_GAIN and AL_MAX_GAIN | Chris Robinson | 2016-08-29 | 2 | -4/+4 |
| | | | | As per the current AL_SOFT_gain_clamp_ex proposal. | ||||
* | Add a query for the maximum source gain limit | Chris Robinson | 2016-08-28 | 3 | -0/+32 |
| | |||||
* | Clamp the maximum mixing gain boost to 16 | Chris Robinson | 2016-08-27 | 2 | -10/+13 |
| | | | | | | The combined source and listener gains now can't exceed a multiplier of 16 (~24dB). This is to avoid mixes getting out of control with large volume boosts, which reduces the effective precision given by floating-point. | ||||
* | Allow sources to play while alcSuspendContext is in effect | Chris Robinson | 2016-08-26 | 4 | -11/+22 |
| | | | | | | | | | | | | | | This appears to be how Creative's Windows drivers handle it, and is necessary for at least the Windows version of UT2k4 (otherwise it tries to play a source while suspended, checks and sees it's stopped, then kills it before it's given a chance to start playing). Consequently, the internal properties it gets mixed with are determined by what the source properties are at the time of the play call, and the listener properties at the time of the suspend call. This does not change alDeferUpdatesSOFT, which will still hold the play state change until alProcessUpdatesSOFT. | ||||
* | Avoid directly replacing the effect slot Update pointer | Chris Robinson | 2016-08-25 | 1 | -14/+10 |
| | |||||
* | Properly defer effect slot changes | Chris Robinson | 2016-08-25 | 4 | -14/+37 |
| | | | | | | | | Note that this now also causes all playing sources to update when an effect slot is updated. This is a bit wasteful, as it should only need to re-update sources that are using the effect slot (and only when a relevant property is changed), but it's good enough. Especially with deferring since all playing sources are going to get updated on the process call anyway. | ||||
* | Track all references for effect states | Chris Robinson | 2016-08-25 | 2 | -30/+53 |
| | | | | | | | | This allows us to not have to play around with trying to avoid duplicate state pointers, since the reference count will ensure they're deleted as appropriate. The only caveat is that the mixer is not allowed to decrement references, since that can cause the object to be freed (which the mixer code is not allowed to do). | ||||
* | Add a ref count to ALeffectState | Chris Robinson | 2016-08-25 | 13 | -203/+325 |
| | | | | | This is mostly just reorganizing the effects to call the Construct method which initializes the ref count. | ||||
* | Also rotate stereo sounds in the alhrtf example | Chris Robinson | 2016-08-24 | 1 | -2/+22 |
| | |||||
* | Consolidate duplicate code | Chris Robinson | 2016-08-24 | 1 | -39/+23 |
| | |||||
* | Combine related members into a struct | Chris Robinson | 2016-08-24 | 6 | -84/+87 |
| |