add option to swap nibbles on raw sample import

issue #791
This commit is contained in:
tildearrow 2022-12-17 22:45:08 -05:00
parent 4affc48ebd
commit ceb27728d3
4 changed files with 17 additions and 4 deletions

View file

@ -796,7 +796,7 @@ class DivEngine {
DivSample* sampleFromFile(const char* path);
// get raw sample
DivSample* sampleFromFileRaw(const char* path, DivSampleDepth depth, int channels, bool bigEndian, bool unsign);
DivSample* sampleFromFileRaw(const char* path, DivSampleDepth depth, int channels, bool bigEndian, bool unsign, bool swapNibbles);
// delete sample
void delSample(int index);