One waveform of a bank, as the bank file records it.
Definition sample.h:10
static int StreamSize()
Report the size of the stream form.
int ToStream(unsigned char *data) const
Write the sample in its stream form, as version 1.
Sample()
Create a sample and reset it.
int FromStream(const unsigned char *data)
Read the sample from its stream form.
unsigned short mSampleRate
Definition sample.h:67
int mSampleStart
Definition Sample.h:61
void Dump() const
Print the fields to the diagnostic stream.
int mLoopStop
Definition Sample.h:60
unsigned int mLoopStart
Definition sample.h:68
void Init()
Reset every field to zero.