1
0
mirror of https://github.com/ScrelliCopter/VGM-Tools synced 2025-02-21 04:09:25 +11:00

Refactor most of the opening and scanning between sources

This commit is contained in:
2020-07-08 21:28:04 +10:00
parent 6456404bd3
commit 5cfb861369
3 changed files with 58 additions and 40 deletions

View File

@@ -2,7 +2,11 @@
#define __NEOADPCMEXTRACT_H__
#include <stdio.h>
#include <stdint.h>
int vgmExtractSamples(FILE* file);
typedef struct { uint8_t* data; size_t size, reserved; } Buffer;
int vgmReadSample(FILE* fin, Buffer* buf);
int vgmScanSample(FILE* file);
#endif//__NEOADPCMEXTRACT_H__