aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorder some stored source paramsChris Robinson2010-11-241-3/+3
|
* Get rid of the device timer stuffChris Robinson2010-11-211-1/+0
|
* Move aluMixData back to ALu.cChris Robinson2010-11-211-0/+217
|
* Use the number of sends the device is configured for in more placesChris Robinson2010-11-061-10/+0
|
* Rename a couple more variablesChris Robinson2010-10-101-37/+35
|
* Improve naming and placement of a couple variablesChris Robinson2010-10-101-12/+14
|
* Simplify a calculationChris Robinson2010-10-091-2/+1
|
* Better protect against negative attenuationChris Robinson2010-09-241-1/+4
|
* Store air absorption factor locallyChris Robinson2010-09-121-3/+5
|
* Prevent effectiveDist from going negativeChris Robinson2010-09-111-1/+1
|
* Combine non-attenuated source calculation functionsChris Robinson2010-08-071-156/+62
|
* Calculate the source stepping value with the param calculationsChris Robinson2010-08-071-5/+40
|
* Calculate the actual stepping value in the source update methodChris Robinson2010-08-071-4/+42
|
* Combine stereo and stereo-duplicate mixersChris Robinson2010-08-051-0/+144
| | | | | Use a separate update method for stereo sources to the set appropriate channel gains
* Move the core mixer functions to a separate source fileChris Robinson2010-08-031-752/+1
|
* Use a callback to specify the source update methodChris Robinson2010-08-031-7/+3
|
* Add some spacingChris Robinson2010-08-031-0/+4
|
* Move active source iteration to aluMixDataChris Robinson2010-08-031-25/+16
|
* Separate speaker/panning initialization into another source fileChris Robinson2010-08-031-329/+0
|
* Combine duplicate lines into the mixing macroChris Robinson2010-07-311-6/+2
|
* Remove an unnecessary variableChris Robinson2010-07-311-13/+12
|
* Keep count of the number of samples playedChris Robinson2010-07-221-0/+1
|
* Fix backslash alignment for the single-channel mixer macroChris Robinson2010-07-061-34/+34
|
* Use an array of active sources when mixingChris Robinson2010-06-061-13/+19
| | | | Prevents iterating over all allocated sources during mixing updates
* Skip mixing after checking looping validityChris Robinson2010-06-031-3/+4
|
* Don't bother storing the loop points in the sourceChris Robinson2010-05-241-3/+4
|
* Use the loop start when filling in padding data for looping sourcesChris Robinson2010-05-131-1/+1
|
* Pay attention to the source loop pointsChris Robinson2010-05-131-3/+19
|
* Only use a modulo to loop when the source is staticChris Robinson2010-05-131-1/+1
|
* Use a UIntMap for the effect slot listChris Robinson2010-05-121-3/+3
|
* Store looping locally when mixing a sourceChris Robinson2010-05-121-2/+4
|
* Use a simple loop to set multi-channel dry gainsChris Robinson2010-05-091-9/+2
|
* Use a map to store sources and buffersChris Robinson2010-05-011-15/+16
| | | | And do a lookup using a binary search instead of linear
* Only apply ambient gain to available output channelsChris Robinson2010-04-271-10/+15
|
* 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