aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Avoid enumerating the same HRTF file twiceChris Robinson2016-02-211-41/+40
|
* Add a config option to specify the preferred HRTFChris Robinson2016-02-211-0/+19
|
* Remove an unused declarationChris Robinson2016-02-201-2/+0
|
* Include the HRTF filename in the HRTF memory chunkChris Robinson2016-02-202-26/+25
|
* Use an 8-channel cube for HRTF's virtual format.Chris Robinson2016-02-204-122/+46
| | | | | | 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.
* Allocate each HRTF as a single chunkChris Robinson2016-02-161-21/+39
|
* Remove a dead assignmentChris Robinson2016-02-161-1/+0
|
* Only calculate steps for the used coefficientsChris Robinson2016-02-141-1/+1
|
* Calculate HRTF stepping params right before mixingChris Robinson2016-02-149-294/+88
| | | | | 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-240/+149
|
* Don't pass the channel count to GetBFormatHrtfCoeffsChris Robinson2016-02-093-8/+6
| | | | Since it's hard-coded anyway, there's no need to specify it.
* Replace some CreateEvent calls with CreateEventWChris Robinson2016-02-072-7/+7
|
* Add special HRTF handling for reverbChris Robinson2016-02-061-1/+77
| | | | | | | This is pretty hacky. Since HRTF normally renders to B-Format with two "extra" channels for the real stereo output, the panning interpolates between a panned reverb channel on B-Format, and two non-panned reverb channels on stereo output, given the panning vector length.
* Only apply the +3dB reverb gain boost to the ambient response.Chris Robinson2016-02-061-2/+1
|
* Avoid an extra sample of delay in the reverb modulatorChris Robinson2016-02-051-4/+6
|
* Remove an unnecessary variable and move duplicate code to a common spotChris Robinson2016-02-051-37/+23
|
* Don't explicitly check for LFEChris Robinson2016-02-051-16/+0
| | | | It's going to be set to 0 gain anyway
* Boost the direct-pan reverb to better match the expected volumeChris Robinson2016-02-051-0/+2
| | | | | Hopefully. Would be nice to have a reference implementation for this style of reverb to compare with.
* Update a couple outdated commentsChris Robinson2016-02-051-3/+1
|
* Apply the early and late reverb gains with the panning gainsChris Robinson2016-02-051-26/+28
|
* Better organize the reverb code into separate labeled sectionsChris Robinson2016-02-051-425/+442
|
* Separate early and late reverb output for standard reverb tooChris Robinson2016-02-051-33/+27
|
* Modify how the four output reverb points are calculatedChris Robinson2016-02-051-40/+62
| | | | | For HRTF and B-Format output, the points no longer move but instead scale based on the desired panning direction.
* Try to map reverb outputs directly to output channelsChris Robinson2016-02-011-2/+77
| | | | | | | | | HRTF and B-Format output still need to use virtual panning directions, but the reverb works better when it outputs directly to an output channel. Ambient and directional panning is used to properly mask and attenuate each output channel. Note that currently the "direct panning" output is quieter than it should be. Work is underway to attenuate the early reflections and late reverb better.
* Apply the main reverb gain with the panningChris Robinson2016-02-011-13/+12
|
* Fix an out of date commentChris Robinson2016-01-311-4/+2
|
* Rename ComputeBFormatGains to ComputeFirstOrderGainsChris Robinson2016-01-315-10/+10
|
* Properly silence the LFE input channel gain on the source sendsChris Robinson2016-01-301-0/+8
|
* Fix scaling for effect sends of B-Format sourcesChris Robinson2016-01-301-1/+10
|
* Make the modulator effect multichannelChris Robinson2016-01-291-22/+41
|
* Use separate modulator functions only for the waveformChris Robinson2016-01-291-56/+42
|
* Convert the equalizer effect to multichannelChris Robinson2016-01-291-33/+90
|
* Make the compressor effect multichannelChris Robinson2016-01-281-25/+58
|
* Mix to multichannel for effectsChris Robinson2016-01-284-58/+258
| | | | | | 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-2712-36/+42
|
* Avoid passing the device to SetChannelMapChris Robinson2016-01-271-24/+31
|
* Separate calculating ambisonic coefficients from the panning gainsChris Robinson2016-01-2513-73/+98
|
* Don't write one byte at a time for the wave writer on big endianChris Robinson2016-01-251-17/+19
|
* Replace multiple fputc calls with one fwriteChris Robinson2016-01-231-6/+4
|
* Reorder filterstate propertiesChris Robinson2016-01-232-19/+18
|
* Avoid using scandir/alphasortChris Robinson2016-01-211-23/+46
| | | | | They require POSIX 2008, which is a bit too "new" for my current liking. We can do well enough with opendir/readdir/closedir and qsort.
* Fix for systems that don't have strnlenChris Robinson2016-01-211-4/+14
|
* Improve the OSS enumeration codeChris Robinson2016-01-211-63/+71
|
* Merge branch 'master' of github.com:/kcat/openal-softChris Robinson2015-12-191-27/+206
|\
| * Added a check for an empty pathKeegan Drake H.P2015-12-171-2/+2
| |
| * Add device enumeration support for OSSv4Keegan Drake H.P2015-12-171-27/+206
| |
* | Don't overwrite the output with the dedicated effectChris Robinson2015-12-121-1/+1
|/
* Add includes to work around broken GNU headers and POSIX-2001Chris Robinson2015-12-112-0/+2
|
* Fix slashes on the local path on WindowsChris Robinson2015-12-081-0/+3
|
* Use the ALSOFT_LOCAL_PATH env var instead of the CWDChris Robinson2015-12-081-4/+18
|