aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|