aboutsummaryrefslogtreecommitdiffstats
path: root/alc/converter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move the FPUCtl methods to its own sourceChris Robinson2020-03-201-1/+1
|
* Make MAX_RESAMPLER_PADDING specify the total paddingChris Robinson2019-09-281-9/+9
|
* Combine two function calls into oneChris Robinson2019-09-281-8/+4
|
* Add "fast" variants for the bsinc resamplersChris Robinson2019-09-281-2/+2
| | | | | | This simply omits the scale factor from the filter, similar to how up-sampling does. The consequence of this is less smooth transitions when ramping the pitch while down-sampling, but otherwise behaves fine.
* Implement a "fast" bsinc pathChris Robinson2019-09-261-1/+1
| | | | | | | | | | This takes advantage of the fact than when increment <= 1 (when not down- sampling), the scale factor is always 0. As a result, the scale and scale-phase deltas never contribute to the filtered output. Removing those multiply+add operations cuts half of the work done by the inner loop. Sounds that do need to down-sample (when played with a high pitch, or is 48khz on 44.1khz output, for example), still go through the normal bsinc process.
* Make the resampler type an enum classChris Robinson2019-09-221-2/+2
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-141-1/+1
|
* Return unsigned values from the FromDevFmt functionsChris Robinson2019-09-131-4/+3
|
* Make the resampler increment unsignedChris Robinson2019-09-131-1/+1
|
* Clean up sample converter implicit conversionsChris Robinson2019-09-121-28/+30
|
* Fix function declarationChris Robinson2019-09-111-1/+1
|
* Simplify flexible array member usageChris Robinson2019-09-111-6/+5
|
* Avoid dynamically allocating ChannelConverterChris Robinson2019-09-101-8/+0
|
* Pass a span to the Resample functionChris Robinson2019-08-201-1/+1
|
* Use unsigned for the sample and channel convertersChris Robinson2019-08-201-26/+26
|
* Update some includesChris Robinson2019-08-051-0/+2
|
* More include cleanupsChris Robinson2019-07-281-0/+3
|
* Rename Alc to alcChris Robinson2019-07-281-0/+367