ref: 126b1529fd246a68f73b538a8a02dc2772a0e5ed
dir: /src/pt2_replayer.h/
#pragma once #include <stdint.h> #include <stdbool.h> #include "pt2_structs.h" #define MIN_BPM 32 #define MAX_BPM 255 double ciaBpm2Hz(int32_t bpm); void updatePaulaLoops(void); // used after manipulating Paula sample loop points while playing void turnOffVoices(void); void initializeModuleChannels(module_t *s); module_t *createEmptyMod(void); void setReplayerPosToTrackerPos(void); void setPattern(int16_t pattern); bool intMusic(void); void storeTempVariables(void); void restartSong(void); void resetSong(void); void incPatt(void); void decPatt(void); void modSetPos(int16_t order, int16_t row); void modStop(void); void doStopIt(bool resetPlayMode); void playPattern(int8_t startRow); void modPlay(int16_t patt, int16_t order, int8_t row); void modSetSpeed(int32_t speed); void modSetTempo(int32_t bpm, bool doLockAudio); void modFree(void); void clearSong(void); void clearSamples(void); void modSetPattern(uint8_t pattern);