summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Base air absorption on distance attenuation, try 2Chris Robinson2009-11-241-8/+9
|
* Revert "Base air absorption on the distance attenuation"Chris Robinson2009-11-241-11/+11
| | | | | | | This reverts commit c7c2f9385f7bfde9962eb7743770679cca07181e. Fundamentally wrong. The -6dB rolloff is every doubling of the distance, and the (scaled) -0.05dB rolloff is supposed to be every additional unit.
* Base air absorption on the distance attenuationChris Robinson2009-11-231-11/+11
|
* Use a 4x4 matrix to transform coordinatesChris Robinson2009-11-231-24/+31
|
* Transform all relevant vectors for converting world-space to listener-spaceChris Robinson2009-11-221-26/+22
|
* Better approximate the wet attenuation model for reverbChris Robinson2009-11-191-3/+18
|
* Apply the reverb room rolloff factor for EAX reverb tooChris Robinson2009-11-191-1/+2
|
* Move aluCart2LUTpos to alu.hChris Robinson2009-11-191-14/+0
|
* Properly lock the device when setting it disconnectedChris Robinson2009-11-011-0/+2
|
* Remove some unneeded buffer fields, make padding a constant amountChris Robinson2009-10-251-3/+5
|
* Remove the format and frequency from the source, get them manuallyChris Robinson2009-10-251-7/+24
|
* Small fixupsChris Robinson2009-10-251-9/+10
|
* Calculate more store only once per loopChris Robinson2009-10-251-30/+28
|
* Store the buffer format and frequency in the source when updatedChris Robinson2009-10-251-39/+32
|
* Retreive and store source params once per mix updateChris Robinson2009-10-251-119/+110
|
* Remove unneeded bufferlistitem propertiesChris Robinson2009-10-251-24/+0
|
* Store the buffer handle directly in the source and buffer queue listChris Robinson2009-10-221-8/+6
|
* Remove unused source fieldsChris Robinson2009-10-211-4/+0
|
* Set the calculated source parameters directlyChris Robinson2009-10-211-40/+36
|
* Store the calculated source parameters in the source structChris Robinson2009-10-211-7/+16
|
* Don't assume 16-bit samplesChris Robinson2009-10-211-5/+6
|
* Calculate source filter coefficients with the source parametersChris Robinson2009-10-211-75/+65
|
* Remove unnecessary variableChris Robinson2009-10-211-3/+2
|
* Remove the Frequency field from the contextChris Robinson2009-10-201-4/+7
|
* Explicitly suspend the context being processed for mixingChris Robinson2009-10-201-0/+3
|
* Store a device's contexts in a dynamic arrayChris Robinson2009-10-201-7/+9
|
* Don't try to clamp the listener-to-source velocity for local sourcesChris Robinson2009-10-201-10/+11
| | | | Local sources will always have a 0 VLS value
* Avoid handling NaN when scaling float samples for outputChris Robinson2009-10-201-3/+3
|
* Reduce indentation for CalcSourceParamsChris Robinson2009-10-191-264/+265
|
* Make the dry buffer part of the deviceChris Robinson2009-10-091-1/+2
|
* Fix type casts for 7.1 outputChris Robinson2009-09-301-2/+2
|
* Check the source start position in alSourcePlayv instead of the mixerChris Robinson2009-09-241-2/+2
|
* Slightly improve the multi-channel mixing loopsChris Robinson2009-09-241-9/+3
|
* Avoid locking a NULL context when a device is disconnectedChris Robinson2009-09-211-4/+3
|
* Pass the device to aluMixDataChris Robinson2009-09-151-6/+8
|
* Move the stereo-to-binaural filter to the deviceChris Robinson2009-09-151-2/+2
|
* Pass the frame count to aluMixDataChris Robinson2009-09-151-6/+0
|
* Split the source mixing loop into a separate functionChris Robinson2009-09-151-395/+392
| | | | Helps reduce the function size and indentation levels
* Add base support for ALC_EXT_disconnectChris Robinson2009-08-261-0/+36
| | | | Individual backends need to be updated to handle disconnection events
* Support 32-bit float outputChris Robinson2009-08-151-185/+115
|
* Use a function to convert float to unsigned byteChris Robinson2009-08-151-38/+45
|
* Store the requested mono/stereo source count and sends in the deviceChris Robinson2009-07-061-1/+1
| | | | | | | | Although the properties are set as context attributes, they are queried from the device. If multiple contexts per device are ever supported, it would not be straight forward about where to read the values from. This way, the attributes can be treated as device-specific attributes that are updated when a new context is created.
* Fix parsing of layout configuration stringChris Robinson2009-07-021-0/+1
|
* Move a couple inline functions into the headerChris Robinson2009-06-071-78/+0
|
* Apply slot gain on slot output, not inputChris Robinson2009-05-291-2/+2
|
* Slot gain changes should have an immediate effectChris Robinson2009-05-291-1/+1
|
* Don't expose effect-specific structuresChris Robinson2009-05-291-13/+2
|
* Add preliminary support for the EAX Reverb effectChris Robinson2009-05-291-11/+14
| | | | | Not all parameters are supported yet, though it is a little more fuctional than standard reverb