An instrument bank: its header, programs, sample descriptors, and samples, and where its waveforms si...
Definition bank.h:17
void Init()
Reset every field to its default.
Bank()
Create a bank header and reset it.
unsigned char mVolume
Definition Bank.h:53
static int StreamSize()
Report the size of the stream form.
int ToStream(unsigned char *data) const
Write the header in its stream form, as version 1.
unsigned short mId
Definition Bank.h:52
int FromStream(const unsigned char *data)
Read the header from its stream form.
unsigned short mNumInstruments
Definition Bank.h:54