|
wavelength 1.0.0
|
A program loaded into a bank, linked to its run of sample descriptors. More...
#include <bankprogram.h>


Public Member Functions | |
| void | Init () |
| Reset the program and clear its descriptors. | |
| Public Member Functions inherited from Program | |
| Program () | |
| Construct a program with the defaults Init() sets. | |
| void | Init () |
| Reset every field to its default. | |
| int | Unpack (const unsigned char *data) |
| Read the program from a serialised record. | |
| int | Pack (unsigned char *data) const |
| Write the program as a serialised record of the current version. | |
| int | PackedSize () const |
| Report the size of a serialised record of the current version. | |
Public Attributes | |
| BankSampleDesc ** | mSampleDescs |
| The program's first descriptor in the bank's table, followed by the rest of its run. | |
| Public Attributes inherited from Program | |
| unsigned short | mProgram |
| unsigned char | mPan |
| unsigned char | mVolume |
| signed char | mTranspose |
| signed char | mFineTranspose |
| unsigned short | mNumSampleDescs |
A program loaded into a bank, linked to its run of sample descriptors.
The class has no RTTI, and its name is inferred from its role. The program pool hands out raw storage. The constructor never runs, and Init() prepares each program.
| void BankProgram::Init | ( | ) |
Reset the program and clear its descriptors.
| BankSampleDesc** BankProgram::mSampleDescs |
The program's first descriptor in the bank's table, followed by the rest of its run.