diff options
author | Chris Robinson <[email protected]> | 2019-09-28 01:58:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-28 01:58:29 -0700 |
commit | 882b4acae80f41547a9e16b7def02a972842c857 (patch) | |
tree | 3c4474c01bcfc33ef2973f06adb4edca6ea8b5a0 /alc/alu.h | |
parent | 00d5356b96d29775653bc6816fafff9cc94ef3ec (diff) |
Add "fast" variants for the bsinc resamplers
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.
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,7 +46,9 @@ enum class Resampler { Point, Linear, Cubic, + FastBSinc12, BSinc12, + FastBSinc24, BSinc24, Max = BSinc24 |