Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allocate as many channels for DirectHrtfState as needed | Chris Robinson | 2017-03-11 | 5 | -11/+14 |
| | |||||
* | Dynamically allocate the device's HRTF state | Chris Robinson | 2017-03-10 | 5 | -86/+94 |
| | |||||
* | Fix building on MSVC | Chris Robinson | 2017-03-10 | 1 | -1/+1 |
| | |||||
* | Fix building without C11 | Chris Robinson | 2017-03-10 | 1 | -1/+2 |
| | |||||
* | Implement NFC filters for Ambisonic rendering | Chris Robinson | 2017-03-10 | 7 | -77/+262 |
| | | | | | | | | | | | | | | NFC filters currently only work when rendering to ambisonic buffers, which includes HQ rendering and ambisonic output. There are two new config options: 'decoder/nfc' (default on) enables or disables use of NFC filters globally, and 'decoder/nfc-ref-delay' (default 0) specifies the reference delay parameter for NFC-HOA rendering with ambisonic output (a value of 0 disables NFC). Currently, NFC filters rely on having an appropriate value set for AL_METERS_PER_UNIT to get the correct scaling. HQ rendering uses the averaged speaker distances as a control/reference, and currently doesn't correct for individual speaker distances (if the speakers are all equidistant, this is fine, otherwise per-speaker correction should be done as well). | ||||
* | Add an NFC filter implementation | Chris Robinson | 2017-03-09 | 3 | -0/+460 |
| | |||||
* | Move ALvoice declaration to alu.h | Chris Robinson | 2017-03-09 | 2 | -55/+55 |
| | |||||
* | Remove an unnecessary variable | Chris Robinson | 2017-03-09 | 1 | -2/+1 |
| | |||||
* | Remove unnecessary atomic members | Chris Robinson | 2017-03-08 | 7 | -250/+221 |
| | |||||
* | Remove an unnecessary variable | Chris Robinson | 2017-03-07 | 1 | -3/+2 |
| | |||||
* | Check that a source is actually playing before setting paused | Chris Robinson | 2017-03-07 | 1 | -28/+35 |
| | | | | | Also slightly refactor setting playing state when the device is disconnected or there's no buffers to play. | ||||
* | Store the channel count and sample size in the voice | Chris Robinson | 2017-03-07 | 3 | -17/+13 |
| | |||||
* | Don't modify the source state in the mixer | Chris Robinson | 2017-03-07 | 2 | -8/+25 |
| | |||||
* | Remove an unused function | Chris Robinson | 2017-03-07 | 2 | -7/+0 |
| | |||||
* | Merge pull request #97 from adrianbroher/ci-backends | kcat | 2017-03-07 | 2 | -6/+72 |
|\ | | | | | Enable and enforce dependencies on CI services. | ||||
| * | Only download and strip Android NDK when not cached | Marcel Metz | 2017-03-06 | 1 | -10/+12 |
| | | |||||
| * | Use TravisCI cache to store stripped Android NDK toolchain | Marcel Metz | 2017-03-06 | 1 | -0/+3 |
| | | |||||
| * | Unpack only required files from Android NDK | Marcel Metz | 2017-03-06 | 1 | -1/+8 |
| | | |||||
| * | Configure CMake to require available backends on CI services | Marcel Metz | 2017-03-06 | 2 | -3/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure CMake to require the installed backend libraries. This should help to find build system regressions. On TravisCI with Linux this requires the ALSA, PulseAudio, PortAudio, OSS and JACK backend. On TravisCI with Android cross compile Linux this requires the OpenSL backend. On TravisCI with MacOSX this requires the CoreAudio backend. ON AppVeyor with Windows this requires the WinMM, DSound and MMDevAPI backend. | ||||
| * | Add Android cross-compile to TravisCI test matrix | Marcel Metz | 2017-03-06 | 1 | -2/+27 |
| | | | | | | | | The test entry adds the ability to test the OpenSLES backend. | ||||
| * | Explicit declare test matrix for TravisCI | Marcel Metz | 2017-03-06 | 1 | -5/+6 |
| | | |||||
| * | Delete Xamarin.Common.targets on AppVeyor | Marcel Metz | 2017-03-06 | 1 | -0/+5 |
| | | | | | | | | | | | | | | This is a workaround for a Xamarin build script bug specific to AppVeyor. For more details see: http://help.appveyor.com/discussions/problems/4569 | ||||
| * | Install dependencies on TravisCI to enable more features | Marcel Metz | 2017-03-05 | 1 | -0/+14 |
| | | | | | | | | | | | | | | Install Ubuntu development packages for PulseAudio, PortAudio, ALSA and JACK to enable the building of most Linux backends on TravisCI. Intall Ubuntu development packages for Qt5 to enable `alsoft-config`. | ||||
* | | Make the voice's source pointer atomic | Chris Robinson | 2017-03-05 | 4 | -15/+17 |
| | | |||||
* | | Update alffplay for newer ffmpeg and convert to C++ | Chris Robinson | 2017-03-05 | 3 | -1585/+1558 |
| | | |||||
* | | Remove ex-common and test-common static libs | Chris Robinson | 2017-03-04 | 1 | -21/+14 |
| | | |||||
* | | Remove unnecessary wrappers around SDL_sound | Chris Robinson | 2017-03-04 | 10 | -629/+253 |
| | | | | | | | | Also remove wrappers for the now-unsupported buffer_samples extension. | ||||
* | | Use the LINK_FLAGS property instead of abusing libs for flags | Chris Robinson | 2017-03-04 | 1 | -4/+8 |
|/ | |||||
* | Merge pull request #95 from adrianbroher/export-config | kcat | 2017-03-04 | 2 | -56/+61 |
|\ | | | | | Enable exporting of CMake import targets | ||||
| * | Use Ubuntu 14.04 in TravisCI to get a less antique CMake version | Marcel Metz | 2017-03-05 | 1 | -0/+1 |
| | | |||||
| * | Export cmake import targets for project build tree | Marcel Metz | 2017-03-05 | 1 | -0/+3 |
| | | |||||
| * | Export cmake import targets for project install tree | Marcel Metz | 2017-03-05 | 1 | -1/+6 |
| | | |||||
| * | Rename logical CMake target `openal` to `OpenAL` | Marcel Metz | 2017-03-05 | 1 | -35/+37 |
| | | |||||
| * | Compile `common` library within dependent targets | Marcel Metz | 2017-03-04 | 1 | -22/+15 |
| | | |||||
| * | Make logical target name `openal` uniform accross all platforms | Marcel Metz | 2017-03-04 | 1 | -41/+42 |
| | | |||||
* | | Add a boolean to specify if a voice should be playing | Chris Robinson | 2017-03-02 | 3 | -28/+53 |
| | | |||||
* | | Stretch out some GUI elements for the decoder configurations | Chris Robinson | 2017-03-01 | 1 | -12/+12 |
| | | |||||
* | | Increment MixCount in UpdateClockBase | Chris Robinson | 2017-02-28 | 1 | -1/+4 |
| | | | | | | | | This is to protect clocktime reads since the backend lock won't protect it. | ||||
* | | Dynamically allocate the channel delay buffers | Chris Robinson | 2017-02-28 | 4 | -8/+66 |
| | | |||||
* | | Remove unused function declarations | Chris Robinson | 2017-02-28 | 1 | -3/+0 |
| | | |||||
* | | Remove an unneeded function | Chris Robinson | 2017-02-28 | 3 | -24/+7 |
| | | |||||
* | | Start a ALC_SOFT_loopback2 extension | Chris Robinson | 2017-02-28 | 2 | -55/+218 |
|/ | | | | | | | | | | | | | | | | | | | | | | This extends the base ALC_SOFT_loopback extension with support for B-Format. When ALC_FORMAT_CHANNELS_SOFT is set to ALC_BFORMAT3D_SOFT, then additional attributes must be specified. ALC_AMBISONIC_LAYOUT_SOFT must be set to ALC_ACN_SOFT or ALC_FUMA_SOFT for the desired channel layout, ALC_AMBISONIC_SCALING_SOFT must be set to ALC_N3D_SOFT, ALC_SN3D_SOFT, or ALC_FUMA_SOFT for the desired channel scaling/normalization scheme, and ALC_AMBISONIC_ORDER_SOFT must be set to an integer value greater than 0 for the ambisonic order (maximum allowed is implementation-dependent). Note that the number of channels required for ALC_BFORMAT3D_SOFT is dependent on the ambisonic order. The number of channels can be calculated by: num_channels = (order+1) * (order+1); /* or pow(order+1, 2); */ In addition, a new alcIsAmbisonicFormatSupportedSOFT function allows apps to determine which layout/scaling/order combinations are supported by the loopback device. For example, alcIsAmbisonicFormatSupported(device, ALC_ACN_SOFT, ALC_SN3D_SOFT, 2) will check if 2nd order AmbiX (ACN layout and SN3D scaling) rendering is supported for ALC_BFORMAT3D_SOFT output. | ||||
* | Use a variable counter for an array size limit | Chris Robinson | 2017-02-28 | 1 | -21/+13 |
| | |||||
* | Don't use the mutex in the base getClockLatency implementation | Chris Robinson | 2017-02-28 | 1 | -3/+8 |
| | |||||
* | Print WARNs when a device or context error is generated | Chris Robinson | 2017-02-27 | 2 | -0/+6 |
| | |||||
* | Avoid standard malloc for buffer queue entries | Chris Robinson | 2017-02-27 | 2 | -7/+10 |
| | |||||
* | Use separate enums for the ambisonic channel order and normalization | Chris Robinson | 2017-02-27 | 4 | -17/+38 |
| | |||||
* | Move the current buffer queue entry and play position to the voice | Chris Robinson | 2017-02-27 | 5 | -127/+137 |
| | | | | | | | | | | | | | | This has a couple behavioral changes. First and biggest is that querying AL_BUFFERS_PROCESSED from a source will always return all buffers processed when in an AL_STOPPED state. Previously all buffers would be set as processed when first becoming stopped, but newly queued buffers would *not* be indicated as processed. That old behavior was not compliant with the spec, which unequivocally states "On a source in the AL_STOPPED state, all buffers are processed." Secondly, querying AL_BUFFER on an AL_STREAMING source will now always return 0. Previously it would return the current "active" buffer in the queue, but there's no basis for that in the spec. | ||||
* | Ensure a non-playing or -paused source does not use a mixing voice | Chris Robinson | 2017-02-25 | 4 | -46/+62 |
| | |||||
* | Set CMP0020 for Qt | Chris Robinson | 2017-02-25 | 1 | -0/+3 |
| |