aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
Commit message (Collapse)AuthorAgeFilesLines
* Add an option for pair-wise stereo panningChris Robinson2016-02-261-5/+7
|
* Use 2-channel UHJ for stereo outputChris Robinson2016-02-261-0/+3
|
* Remove an unused functionChris Robinson2016-02-231-2/+0
|
* Use an 8-channel cube for HRTF's virtual format.Chris Robinson2016-02-201-0/+9
| | | | | | There were phase issues caused by applying HRTF directly to the B-Format channels, since the HRIR delays were all averaged which removed the inter-aural time-delay, which in turn removed significant spatial information.
* Calculate HRTF stepping params right before mixingChris Robinson2016-02-143-10/+11
| | | | | This means we track the current params and the target params, rather than the target params and the stepping. This closer matches the non-HRTF mixers.
* Calculate channel gain stepping just before mixingChris Robinson2016-02-143-16/+16
|
* Rename ComputeBFormatGains to ComputeFirstOrderGainsChris Robinson2016-01-311-5/+5
|
* Make the source's buffer queue a singly-linked listChris Robinson2016-01-312-31/+27
|
* Mix to multichannel for effectsChris Robinson2016-01-283-6/+25
| | | | | | 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.
* Pass a pointer to the input samples array for effect processingChris Robinson2016-01-271-2/+2
|
* Separate calculating ambisonic coefficients from the panning gainsChris Robinson2016-01-252-16/+36
|
* Move a couple extern inline declarations to the othersChris Robinson2016-01-231-3/+2
|
* Reorder filterstate propertiesChris Robinson2016-01-232-49/+51
|
* Inline a couple filterstate methodsChris Robinson2016-01-232-27/+27
|
* Use doubles for the constructed listener matrixChris Robinson2015-11-112-14/+39
| | | | | | 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.
* Implement a band-limited sinc resamplerChris Robinson2015-11-052-4/+32
| | | | | | | | This is essentially a 12-point sinc resampler, unless it's resampling to a rate higher than the output, at which point it will vary between 12 and 24 points and do anti-aliasing to avoid/reduce frequencies going over nyquist. Code provided by Christopher Fitzgerald.
* Pass in the Q parameter for setting the filter parametersChris Robinson2015-11-013-27/+41
| | | | Also better handle the peaking filter gain.
* Remove an unused struct fieldChris Robinson2015-11-011-1/+0
|
* Fix a commentChris Robinson2015-11-011-1/+1
|
* Finalize ALC_SOFT_HRTFChris Robinson2015-10-281-22/+0
|
* Always update all reverb propertiesChris Robinson2015-10-281-0/+14
| | | | | | The EAX-only effect properties will be set to compatible defaults when standard reverb is set, and the EAX-only effects will be skipped during sample processing.
* Rename ALC_NUM_HRTF_SPECIFIER_SOFT to ALC_NUM_HRTF_SPECIFIERS_SOFTChris Robinson2015-10-261-1/+1
|
* Lock the source queue for writing when updating the playback offsetChris Robinson2015-10-241-8/+8
|
* Fix usage of modfChris Robinson2015-10-241-2/+2
|
* Update filter histories even when they're not usedChris Robinson2015-10-242-0/+20
| | | | | | If the filter properties are continually updated, and the HF or LF gain goes from <1, to 1, and later back to <1, the history shouldn't hold stale values from before it was at 1.
* Use one send gain per buffer channelChris Robinson2015-10-231-1/+1
|
* Convert the PortAudio backend to the new backend APIChris Robinson2015-10-221-3/+0
|
* Remove the MIDI codeChris Robinson2015-10-207-2508/+0
| | | | | | | 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).
* Remove unused channel labelsChris Robinson2015-10-181-9/+0
|
* Include the fractional part with the source sample/sec offsetChris Robinson2015-10-161-17/+18
|
* Use a constant value for the post-position paddingChris Robinson2015-10-152-3/+6
|
* Store the source's previous samples with the voiceChris Robinson2015-10-153-0/+17
| | | | | | This helps avoid different results when looping is toggled within a couple samples of the loop point, or when a processed buffer is removed while the source is only a couple samples into the next buffer.
* Properly limit the calculated source offset componentsChris Robinson2015-10-141-4/+8
|
* Shut GCC upChris Robinson2015-10-131-1/+1
|
* Properly apply fractional source offsets when a user offset is setChris Robinson2015-10-131-22/+22
|
* Avoid multiple sin, cos, and sqrt calls for filter calculationsChris Robinson2015-10-111-31/+35
|
* Replace the sinc6 resampler with sinc8, and make SSE versionsChris Robinson2015-10-111-4/+5
|
* Move the FIR4 from SSE2 to SSE3Chris Robinson2015-10-111-2/+3
| | | | | 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-2/+3
|
* Use the enumerated HRTF list for selecting an HRTFChris Robinson2015-10-061-0/+1
| | | | Also report the proper specifier of the one currently in use.
* Enumerate and list HRTFs per-deviceChris Robinson2015-10-061-0/+1
|
* Add a function to get a list of data filesChris Robinson2015-10-031-0/+2
| | | | | | The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order.
* Add methods to enumerate and query device HRTFsChris Robinson2015-10-031-0/+4
| | | | Currently just returns a dummy entry.
* Move the resampler stuff to mixer.c where it's usedChris Robinson2015-10-013-29/+0
|
* Implement a 6-point sinc-lanczos filterChris Robinson2015-09-293-2/+14
|
* Replace the cubic resampler with a 4-point sinc/lanczos filterChris Robinson2015-09-273-6/+6
|
* Don't keep selecting the mixer to useChris Robinson2015-09-273-5/+1
|
* Increase the max pitch to 255Chris Robinson2015-09-261-1/+1
| | | | | | | Note that this is the multiple above the device sample rate, rather than the source property limit. It could theoretically be increased to 511 by testing against UINT_MAX instead of INT_MAX, since the increment and positions are using unsigned integers. I'm just being paranoid about overflows.
* Use a single enum list for source propertiesChris Robinson2015-09-221-346/+416
|
* Avoid a potential race condition with NewThunkEntryChris Robinson2015-09-211-0/+13
| | | | | | It's possible for another invocation to increase the array size in between the ReadUnlock and WriteLock calls, causing the 'i' index to refer to a taken entry.