aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Use 2-channel UHJ for stereo outputChris Robinson2016-02-261-14/+19
|
* Calculate channel gain stepping just before mixingChris Robinson2016-02-141-8/+0
|
* Mix to multichannel for effectsChris Robinson2016-01-281-0/+2
| | | | | | This mixes to a 4-channel first-order ambisonics buffer. With ACN ordering and N3D scaling, this makes it easy to remain compatible with effects that only care about mono input since channel 0 is an unattenuated mono signal.
* Use doubles for the constructed listener matrixChris Robinson2015-11-111-5/+5
| | | | | | This helps the stability of transforms to local space for sources that are at or near the listener. With a single-precision matrix, even FLT_EPSILON might not be enough to detect matching positions.
* Pass the appropriate BackendInfo explicitly to ProbeDevicesChris Robinson2015-10-281-21/+9
|
* Finalize ALC_SOFT_HRTFChris Robinson2015-10-281-3/+3
|
* Rename ALC_NUM_HRTF_SPECIFIER_SOFT to ALC_NUM_HRTF_SPECIFIERS_SOFTChris Robinson2015-10-261-3/+3
|
* Lock the source queue for writing when updating the playback offsetChris Robinson2015-10-241-2/+2
|
* Convert the PortAudio backend to the new backend APIChris Robinson2015-10-221-1/+1
|
* Remove the MIDI codeChris Robinson2015-10-201-95/+1
| | | | | | | The extension's not going anywhere, and it can't do anything fluidsynth can't. The code maintenance and bloat is not worth keeping around, and ideally the AL API would be able to facilitate MIDI-like behavior anyway (envelopes, start-at- time, etc).
* Make VerifyDevice and VerifyContext modify its parameterChris Robinson2015-10-191-43/+46
|
* Move the FIR4 from SSE2 to SSE3Chris Robinson2015-10-111-1/+5
| | | | | SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of horizontal adds.
* Allow apps to request a specific HRTFChris Robinson2015-10-071-15/+47
|
* Use the enumerated HRTF list for selecting an HRTFChris Robinson2015-10-061-8/+48
| | | | Also report the proper specifier of the one currently in use.
* Enumerate and list HRTFs per-deviceChris Robinson2015-10-061-4/+12
|
* Add methods to enumerate and query device HRTFsChris Robinson2015-10-031-36/+87
| | | | Currently just returns a dummy entry.
* Move the resampler stuff to mixer.c where it's usedChris Robinson2015-10-011-25/+0
|
* Implement a 6-point sinc-lanczos filterChris Robinson2015-09-291-1/+3
|
* Replace the cubic resampler with a 4-point sinc/lanczos filterChris Robinson2015-09-271-3/+7
|
* Don't keep selecting the mixer to useChris Robinson2015-09-271-1/+1
|
* Return the number of properties writtenChris Robinson2015-09-241-1/+1
|
* Use a local var instead of multiple double-dereferencingChris Robinson2015-09-241-12/+13
|
* Get rid of ALCdevice_GetLatencyChris Robinson2015-09-211-5/+0
|
* Allow the hrtf_tables option to be device-specificChris Robinson2015-09-201-3/+4
|
* Fix updating listener params when forcing updatesChris Robinson2015-09-181-33/+7
|
* Add missing enum valuesChris Robinson2015-09-171-0/+11
| | | | Spotted by Xavier Bouchoux.
* Set both BS2B parameters at onceChris Robinson2015-09-081-2/+1
|
* Avoid setting an HRTF-compatible format when it's disabledChris Robinson2015-09-051-4/+4
|
* Don't store the HRTF request mode in the device flagsChris Robinson2015-09-051-28/+30
|
* Set a proper HRTF status when non-stereo output is usedChris Robinson2015-09-051-0/+4
|
* Change the hrtf config option to expect auto/true/false instead of a boolChris Robinson2015-09-041-9/+24
|
* Allow for device-specific config valuesChris Robinson2015-08-281-29/+30
|
* Use ACN ordering for ambisonics coefficients arraysChris Robinson2015-08-281-4/+4
| | | | | | Note that it still uses FuMa scalings internally. Coefficients loaded from config files specify if they're FuMa (in both ordering and scaling) or N3D, and will get reordered or rescaled as needed.
* Also recognize "DirectSound" and "MMSYSTEM" on WindowsChris Robinson2015-08-141-3/+5
|
* Recognize "DirectSound3D" as a device name on WindowsChris Robinson2015-08-131-1/+8
|
* Allow specifying ALC_DONT_CARE_SOFT for ALC_HRTF_SOFTChris Robinson2015-07-061-16/+23
| | | | | ALC_FALSE now indicates explicitly no HRTF mixing, while ALC_DONT_CARE_SOFT is autodetect.
* Update a couple commentsChris Robinson2015-07-041-4/+1
|
* Convert the solaris backend to the new APIChris Robinson2015-05-171-1/+1
|
* Add a method to reset the deviceChris Robinson2015-05-161-0/+38
| | | | | | | This basically acts as if the app created a new context with the specified attributes (causing the device to reset with new parameters), then immediately delete it. Existing contexts remain undisturbed, except for a temporary pause while the device output is reconfigured.
* Add a few more HRTF status valuesChris Robinson2015-05-161-3/+19
| | | | | | | | | DISABLED - Generic disabled status ENABLED - Generic enabled status DENIED - Not allowed (user has configured HRTF to be off) REQUIRED - Forced (user has forced HRTF to be used) HEADPHONES_DETECTED - Enabled because headphones were detected UNSUPPORTED_FORMAT - Device format is not compatible with available filters
* Add an HRTF status queryChris Robinson2015-05-151-4/+23
| | | | | This can report the status of HRTF, specifying if it's enabled or not and why (currently only reports unsupported formats, but this may be extended).
* Add an option for "basic" HRTF renderingChris Robinson2015-02-111-7/+26
| | | | | | | | | | | | | | | | | This method is intended to help development by easily testing the quality of the B-Format encode and B-Format-to-HRTF decode. When used with HRTF, all sources are renderer using the virtual B-Format output, rather than just B-Format sources. Despite the CPU cost savings (only four channels need to be filtered with HRTF, while sources all render normally), the spatial acuity offered by the B-Format output is pretty poor since it's only first-order ambisonics, so "full" HRTF rendering is definitely preferred. It's /possible/ for some systems to be edge cases that prefer the CPU cost savings provided by basic over the sharper localization provided by full, and you do still get 3D positional cues, but this is unlikely to be an actual use- case in practice.
* Make sure the BS2B filter is freed if HRTF is enabledChris Robinson2015-02-091-0/+4
|
* Avoid unnecessary uses of ExchangeInt/PtrChris Robinson2015-02-041-3/+9
|
* Try the JACK backend before PulseAudioChris Robinson2015-02-031-3/+3
| | | | | The backend will not spawn a server by default, so PulseAudio will still be preferred as long as a JACK server isn't already running.
* Add a skeleton backend for JACKChris Robinson2014-12-211-0/+3
|
* Set error if capture device fails to startChris Robinson2014-12-211-4/+10
|
* Use aluVector in some more placesChris Robinson2014-12-161-6/+2
|
* Add explicit matrix and vector types to operate withChris Robinson2014-12-161-9/+7
|
* Use a lookup table to do cubic resamplingChris Robinson2014-12-151-0/+1
|