shithub: ft2-clone

ref: ee4c8983a2b22d2b0ca25db8dec28c3fa7565e93
dir: /src/ft2_module_loader.h/

View raw version
#pragma once

#include <stdint.h>
#include <stdbool.h>
#include "ft2_unicode.h"

void loadMusic(UNICHAR *filenameU);
bool loadMusicUnthreaded(UNICHAR *filenameU, bool autoPlay);
bool handleModuleLoadFromArg(int argc, char **argv);
void loadDroppedFile(char *fullPathUTF8, bool songModifiedCheck);
void handleLoadMusicEvents(void);
void clearUnusedChannels(tonTyp *p, int16_t pattLen, int32_t antChn);
//void unpackPatt(uint8_t *dst, uint16_t inn, uint16_t len, int32_t antChn);
void checkSampleRepeat(sampleTyp *s);