aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of a useless unionChris Robinson2010-11-241-12/+8
|
* Change the mixer macros to declare functionsChris Robinson2010-11-241-76/+196
|
* Set mixer sample pos and frac when neededChris Robinson2010-11-241-6/+12
|
* Reorder some stored source paramsChris Robinson2010-11-242-6/+6
|
* Make sure the buffer padding is always cleared before looking for the next ↵Chris Robinson2010-11-241-2/+1
| | | | buffer
* Calculate ALSA buffer length with the other valuesChris Robinson2010-11-231-2/+6
|
* Handle the timer wrapping in the wave and null output devicesChris Robinson2010-11-212-6/+8
|
* Use helpers to write 16- and 32-bit valuesChris Robinson2010-11-211-53/+32
|
* Get rid of the device timer stuffChris Robinson2010-11-2111-159/+13
|
* Avoid temporary float variablesChris Robinson2010-11-211-6/+6
|
* Pass the data pointer and proper sampler to the mixer macroChris Robinson2010-11-211-39/+39
|
* Move aluMixData back to ALu.cChris Robinson2010-11-212-220/+217
|
* Hide AL_EXTX_sample_buffer_objectChris Robinson2010-11-211-4/+3
| | | | | It hasn't been going anywhere, and it's current use is dubious. Leave the code in for now, but it may be removed later.
* Increase the max number of source sends to 4, and decrease the default to 1Chris Robinson2010-11-061-1/+1
|
* Use the number of sends the device is configured for in more placesChris Robinson2010-11-062-13/+3
|
* Use a switch to select the appropriate channel-count mixerChris Robinson2010-11-061-7/+16
|
* Declare a variable where it's usedChris Robinson2010-11-011-2/+1
|
* Fix fpu state handling with _controlfpChris Robinson2010-10-151-3/+2
|
* 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
|
* Check resampler mode first when selecting the mixerChris Robinson2010-09-261-59/+43
|
* Get a variable where it's neededChris Robinson2010-09-261-3/+1
|
* Pass the device to the mix function and localize the dry mix and click buffersChris Robinson2010-09-261-16/+25
|
* Clarify a checkChris Robinson2010-09-261-1/+1
|
* Make the SourceMix function a method of the ALsource structChris Robinson2010-09-261-8/+5
|
* Avoid updating the source in MixSourceChris Robinson2010-09-251-10/+11
|
* Convert shorts so that 0 remains 0Chris Robinson2010-09-251-4/+4
|
* Don't try to open the ALSA device a second time if the first failsChris Robinson2010-09-251-10/+0
|
* Avoid some code duplicationChris Robinson2010-09-251-96/+44
|
* Localize more variables and remove unnecessary onesChris Robinson2010-09-251-68/+73
|
* Avoid sampling beyond the end of the loopChris Robinson2010-09-241-6/+6
|
* Localize some variables to the mixer macrosChris Robinson2010-09-241-51/+84
| | | | | | The hope here is to help break the mixer loops into separate functions, so the macro expansion doesn't cause the MixSource function to explode in size and kill compilation speed.
* Use separate mixing loops for the dry path and wet pathsChris Robinson2010-09-241-92/+234
| | | | | | | | | | | | This will increase CPU use a bit for sources that use auxiliary sends (particularly with the cosine resampler), but it makes it more scalable when adding more sends per source. Additionally, it will improve performance of sources that don't use auxiliary sends. The cosine resampler can probably be improved by using a lookup table instead of calling cos() as there are 14 bits of fractional precision, so a 16384- element float array would cover it all. This can also be reduced to a half or quarter size if the precision loss is found to be acceptable.
* Better protect against negative attenuationChris Robinson2010-09-241-1/+4
|
* Use ALfloat for the dry mix bufferChris Robinson2010-09-231-3/+3
|
* Remove an unnecessary variableChris Robinson2010-09-231-5/+3
|
* Rename some variables to be less confusingChris Robinson2010-09-231-32/+32
|
* Fix line indentationChris Robinson2010-09-231-1/+1
|
* Be consistent with a variable's useChris Robinson2010-09-231-3/+3
|
* Convert float to short similar to short to floatChris Robinson2010-09-231-5/+4
|
* Store and mix signed 16-bit samplesChris Robinson2010-09-221-32/+47
|
* Allow the mixing loop to access the different sample formatsChris Robinson2010-09-221-63/+63
|
* Compact some reused codeChris Robinson2010-09-221-115/+69
|
* Allow accessing the buffer data as multiple data types in the mixerChris Robinson2010-09-221-20/+27
| | | | Also reduces a bunch of indentation
* Duplicate stereo sources by defaultChris Robinson2010-09-222-1/+2
| | | | | The mixer is smart enough now to handle proper volume adjustments depending on the number of output speakers
* Use separate macros for the different mixing loopsChris Robinson2010-09-221-200/+202
|
* Consolidate some codeChris Robinson2010-09-211-13/+12
|
* Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data specChris Robinson2010-09-211-1/+3
| | | | | | This extension can be useful for some applications, but a full EXT version may not be ready for some time. Using the SOFT moniker will help differentiate it in case changes need to be done for the EXT version.
* Store air absorption factor locallyChris Robinson2010-09-121-3/+5
|