furnace/src/engine/sample.h

28 lines
488 B
C
Raw Normal View History

#include "../ta-utils.h"
struct DivSample {
String name;
int length, rate;
2021-05-11 16:26:38 -04:00
signed char vol, pitch;
unsigned char depth;
short* data;
2021-12-14 12:33:26 -05:00
unsigned int rendLength, adpcmRendLength, rendOff;
short* rendData;
2021-12-10 04:22:13 -05:00
unsigned char* adpcmRendData;
DivSample():
name(""),
length(0),
rate(0),
vol(0),
pitch(0),
depth(16),
data(NULL),
rendLength(0),
2021-12-10 22:51:50 -05:00
adpcmRendLength(0),
2021-12-10 23:41:00 -05:00
rendOff(0),
2021-12-10 04:22:13 -05:00
rendData(NULL),
adpcmRendData(NULL) {}
~DivSample();
};