samples may have loop points

This commit is contained in:
tildearrow 2022-01-15 17:54:21 -05:00
parent 755042a8fe
commit 785f7e4d40
4 changed files with 16 additions and 6 deletions

View file

@ -2,7 +2,7 @@
struct DivSample {
String name;
int length, rate;
int length, rate, loopStart;
signed char vol, pitch;
unsigned char depth;
short* data;
@ -15,6 +15,7 @@ struct DivSample {
name(""),
length(0),
rate(32000),
loopStart(-1),
vol(0),
pitch(0),
depth(16),