aboutsummaryrefslogtreecommitdiffstats
path: root/alc/converter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-221-1/+2
|
* Move cpu_caps and fpu_ctrl to coreChris Robinson2020-12-311-1/+1
|
* Move the mixer functions to coreChris Robinson2020-12-121-1/+0
|
* Use an alias for the DevFmtType typeChris Robinson2020-12-051-21/+13
|
* Avoid a global MAX_PITCH macroChris Robinson2020-12-041-2/+10
|
* Change a couple macros into constexpr variablesChris Robinson2020-11-281-10/+10
|
* Avoid AL types in the converterChris Robinson2020-11-271-42/+40
|
* Don't limit the available converted sample count to BUFFERSIZEChris Robinson2020-11-251-1/+2
|
* Replace the mixer fraction macros with constexpr variablesChris Robinson2020-10-211-9/+9
|
* Use inline functions for popcnt and ctz instead of macrosChris Robinson2020-10-131-1/+1
|
* Be more robust with to-mono channel conversionsChris Robinson2020-10-051-8/+17
|
* Use an enum for FamCountChris Robinson2020-05-191-1/+1
|
* Clean up some more unnecessary uses of AL typesChris Robinson2020-04-081-32/+32
|
* Use structs for the mixer and resampler tagsChris Robinson2020-04-031-0/+3
|
* 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