| 1 | #cxx . . $ `<file>/src/pt2_downsample2x.h`/pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | |
| 5 | // reserved for main audio channel mixer, PAT2SMP and MOD2WAV |
| 6 | void clearDownsample2xStatescxx . . $ clearDownsample2xStates(49f6e7a06ebc5aa8).(void); |
| 7 | float downsample2x_Lcxx . . $ downsample2x_L(d59a45cd3bfd2eda).(float sample1, float sample2); |
| 8 | float downsample2x_Rcxx . . $ downsample2x_R(d59a45cd3bfd2eda).(float sample1, float sample2); |
| 9 | // -------------------------------------- |
| 10 | |
| 11 | // Warning: These can exceed -1.0 .. 1.0 because of undershoot/overshoot! |
| 12 | void downsample2xFloatcxx . . $ downsample2xFloat(ac1d28a1859f2825).(float *buffer, uint32_tcxx . . $ uint32_t# originalLength); |
| 13 | void downsample2xDoublecxx . . $ downsample2xDouble(b832380d3925cf6).(double *buffer, uint32_tcxx . . $ uint32_t# originalLength); |
| 14 | |
| 15 | // Warning: These are slow and use normalization to prevent clipping from undershoot/overshoot! |
| 16 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! downsample2x8Bitcxx . . $ downsample2x8Bit(9b8781d28ee69655).(int8_tcxx . . $ int8_t# *buffer, uint32_tcxx . . $ uint32_t# originalLength); |
| 17 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! downsample2x8BitUcxx . . $ downsample2x8BitU(f3e7299796ab6c6f).(uint8_tcxx . . $ uint8_t# *buffer, uint32_tcxx . . $ uint32_t# originalLength); |
| 18 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! downsample2x16Bitcxx . . $ downsample2x16Bit(6f0a599713eb5608).(int16_tcxx . . $ int16_t# *buffer, uint32_tcxx . . $ uint32_t# originalLength); |
| 19 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! downsample2x32Bitcxx . . $ downsample2x32Bit(fdfc7b0a9f333dff).(int32_tcxx . . $ int32_t# *buffer, uint32_tcxx . . $ uint32_t# originalLength); |