aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
Commit message (Collapse)AuthorAgeFilesLines
* Add an option to scale the output mixChris Robinson2010-04-231-14/+15
|
* Make stereo duplication a property of the deviceChris Robinson2010-04-201-2/+8
| | | | Further, don't use it with mono/stereo output
* Translate the source position separatelyChris Robinson2010-04-161-11/+7
| | | | | | | | | | | | | | This is to handle the case where an app specifies the same values for the source and listener, and expects centered panning. This fails due to floating- point errors in the matrix, causing the result to be ever-so-slightly off of 0. This error would normally be hidden by the position normalization, which will not lengthen a distance shorter than the reference distance so the panning would be nearly imperceptible. But that also fails if the reference distance is set to 0, causing the position to expand to a full unit. Keep the 4x4 matrix calculations, however. It will still be useful for the requested listener matrix extension.
* Return immediately when no layout is specifiedChris Robinson2010-04-111-0/+3
|
* More type fixesChris Robinson2010-04-111-3/+3
|
* Use a linear scaling when sending multi-channel sources to auxiliary slotsChris Robinson2010-04-111-6/+6
|
* Use proper types for some variablesChris Robinson2010-04-111-6/+7
|
* Only consider output speakers for the panning LUTChris Robinson2010-04-111-20/+67
|
* Avoid hard-coding the channel countChris Robinson2010-04-091-1/+2
|
* Get the speaker arrangement before setting up the channel matrixChris Robinson2010-04-091-18/+19
|
* Re-enable stereo duplicationChris Robinson2010-04-081-0/+55
|
* Use the proper type for the speaker-to-channel mapChris Robinson2010-04-081-3/+3
|
* Store the panning LUT in the deviceChris Robinson2010-04-081-14/+109
|
* Use a single layout for the virtual speakersChris Robinson2010-04-081-1/+1
| | | | The downmix should probably be improved to take the angles into account
* Set the device channel matrix when the device is resetChris Robinson2010-04-081-99/+18
|
* Always mix internally at 8.1Chris Robinson2010-04-081-196/+149
| | | | | The channels are remixed when writing to the output buffer. Stereo duplication is currently broken, but this can be restored later
* Invert device channel map arrayChris Robinson2010-04-081-32/+57
|
* Relax circular layout requirementChris Robinson2010-03-201-5/+21
|
* Rename some struct members for consistencyChris Robinson2010-03-161-3/+3
|
* Remove a couple incorrect commentsChris Robinson2010-03-101-1/+0
|
* Use powf when availableChris Robinson2010-03-071-47/+45
|
* Fix speaker angle fixupChris Robinson2010-01-121-1/+1
|
* Properly trace the invalid speaker angleChris Robinson2010-01-121-1/+1
|
* Fix Windows compilationChris Robinson2010-01-111-36/+36
|
* Check buffer size when copying padding instead of the data pointerChris Robinson2010-01-111-2/+2
|
* Add helpful values to the resampler enumChris Robinson2010-01-111-0/+6
|
* Add a cosine resamplerChris Robinson2010-01-111-0/+17
|
* Add an option for point resamplingChris Robinson2010-01-111-38/+100
|
* Hold global lock during mixing only when iterating device contextsChris Robinson2010-01-111-4/+2
|
* Improve layout parsing and allow using long names for speakersChris Robinson2009-12-281-19/+21
|
* Use a 64-bit value to scale potentially-large numbersChris Robinson2009-12-241-11/+0
|
* Don't render mono as stereoChris Robinson2009-12-211-22/+20
|
* Scale samples down when converting stereo to monoChris Robinson2009-12-211-2/+5
|
* Improve some indentationsChris Robinson2009-12-201-21/+18
|
* Properly retrieve the device frequencyChris Robinson2009-12-201-1/+1
|
* Improve initial decay calculations for sends to reverbChris Robinson2009-12-101-11/+8
|
* Use the specified reverb air absorption value for wet sendsChris Robinson2009-12-101-18/+23
|
* Store the source state locally after making sure it needs mixingChris Robinson2009-12-091-7/+7
|
* Use an inline function to calculate the low-pass filter coefficientChris Robinson2009-12-091-28/+8
|
* Split non-attenuated source calculations into a separate functionChris Robinson2009-12-091-84/+105
|
* Add a head-dampening optionChris Robinson2009-12-081-6/+18
| | | | | This simulates occlusion of the player's head for sounds coming from behind, when outputing to mono or stereo
* Store the original pre-clamped distance instead of re-computing itChris Robinson2009-12-081-4/+3
|
* Use the correct wet filter history offsetChris Robinson2009-12-071-1/+1
|
* Internally store 32-bit float buffer data, and mix accordinglyChris Robinson2009-12-071-9/+14
|
* Restrict setting some wet path values to active sends onlyChris Robinson2009-12-061-2/+2
|
* Use a channel-map to specify the output device channel orderChris Robinson2009-12-021-56/+37
|
* Clamp dry gain after cone attenuation is appliedChris Robinson2009-12-011-36/+39
|
* Update AL_EXTX_source_distance_model to require explicit enablingChris Robinson2009-11-271-1/+2
| | | | The in-progress spec has been updated to reflect this
* Send multi-channel sources to auxiliary effect slotsChris Robinson2009-11-261-10/+49
| | | | | They are downmixed to mono using a volume-preserving scalar, and passed through a 1-pole low-pass filter (not chained)
* Update source parameters only when they need changingChris Robinson2009-11-251-1/+5
|