| 1 | #cxx . . $ `<file>/src/pt2_paula.h`/pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | #include <stdbool.h> |
| 5 | #include "pt2_header.h"cxx . . $ `<file>/src/pt2_header.h`/ |
| 6 | |
| 7 | enumcxx . . $ $anonymous_type_23dc0538b974b139_0# |
| 8 | { |
| 9 | MODEL_A1200cxx . . $ MODEL_A1200. = 0, |
| 10 | MODEL_A500cxx . . $ MODEL_A500. = 1 |
| 11 | }; |
| 12 | |
| 13 | #define PAULA_VOICEScxx . . $ `src/pt2_paula.h:13:9`! 4 |
| 14 | #define PAULA_PAL_CLKcxx . . $ `src/pt2_paula.h:14:9`! AMIGA_PAL_CCK_HZ |
| 15 | #define PAL_PAULA_MIN_PERIODcxx . . $ `src/pt2_paula.h:15:9`! 113 |
| 16 | #define PAL_PAULA_MIN_SAFE_PERIODcxx . . $ `src/pt2_paula.h:16:9`! 124 |
| 17 | #define PAL_PAULA_MAX_HZcxx . . $ `src/pt2_paula.h:17:9`! (PAULA_PAL_CLK / (double)PAL_PAULA_MIN_PERIOD) |
| 18 | #define PAL_PAULA_MAX_SAFE_HZcxx . . $ `src/pt2_paula.h:18:9`! (PAULA_PAL_CLK / (double)PAL_PAULA_MIN_SAFE_PERIOD) |
| 19 | |
| 20 | void paulaSetupcxx . . $ paulaSetup(29649c4b077a0f6).(double dOutputFreq, uint32_tcxx . . $ uint32_t# amigaModel); |
| 21 | void paulaDisableFilterscxx . . $ paulaDisableFilters(49f6e7a06ebc5aa8).(void); // disables low-pass & high-pass filters ("LED" filter is kept) |
| 22 | |
| 23 | int8_tcxx . . $ int8_t# *paulaGetNullSamplePtrcxx . . $ paulaGetNullSamplePtr(d09b239063734497).(void); |
| 24 | |
| 25 | void paulaWriteBytecxx . . $ paulaWriteByte(cc289a6b3dfc48da).(uint32_tcxx . . $ uint32_t# address, uint8_tcxx . . $ uint8_t# data8); |
| 26 | void paulaWriteWordcxx . . $ paulaWriteWord(272d193675e92631).(uint32_tcxx . . $ uint32_t# address, uint16_tcxx . . $ uint16_t# data16); |
| 27 | void paulaWritePtrcxx . . $ paulaWritePtr(8ed931be62ea155e).(uint32_tcxx . . $ uint32_t# address, const int8_tcxx . . $ int8_t# *ptr); |
| 28 | |
| 29 | void clearBlepStatecxx . . $ clearBlepState(49f6e7a06ebc5aa8).(void); |
| 30 | |
| 31 | // output is -4.00 .. 3.97 (can be louder because of high-pass filter) |
| 32 | void paulaGenerateSamplescxx . . $ paulaGenerateSamples(ae8270d942ffb491).(float *fOutL, float *fOutR, int32_tcxx . . $ int32_t# numSamples); |