add sample rate parameter in raw sample import
This commit is contained in:
parent
ab3624789b
commit
928bfd2afd
4 changed files with 16 additions and 6 deletions
|
|
@ -954,7 +954,7 @@ class DivEngine {
|
|||
DivSample* sampleFromFile(const char* path);
|
||||
|
||||
// get raw sample
|
||||
DivSample* sampleFromFileRaw(const char* path, DivSampleDepth depth, int channels, bool bigEndian, bool unsign, bool swapNibbles);
|
||||
DivSample* sampleFromFileRaw(const char* path, DivSampleDepth depth, int channels, bool bigEndian, bool unsign, bool swapNibbles, int rate);
|
||||
|
||||
// delete sample
|
||||
void delSample(int index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue