Editor view of one sample description of an instrument.
More...
#include <SampleDescWin.h>
|
| | SampleDescWin (int sampleID) |
| | Create a description of a sample, named after its identifier.
|
| | ~SampleDescWin () |
| | Release the description.
|
| void | SetKeymap (unsigned char iLow, unsigned char iBase, unsigned char iHigh) |
| | Set the key range and base key.
|
| void | GetKeymap (unsigned char *oLow, unsigned char *oBase, unsigned char *oHigh) |
| | Report the key range and base key.
|
| int | GetID () const |
| | Report the identifier.
|
| String & | GetName () |
| | Report the name.
|
| void | SetName (const String &name) |
| | Rename the description, unless the new name is empty.
|
| int | GetSampleID () const |
| | Report the identifier of the sample the description plays.
|
| SampleDescription & | GetSampleDescription () |
| | Report the playback settings.
|
Editor view of one sample description of an instrument.
The class has no RTTI, and its name comes from the assert text of its users. The object is 0x38 bytes. Its routines are in BankManager.cpp.
◆ SampleDescWin()
| SampleDescWin::SampleDescWin |
( |
int | sampleID | ) |
|
|
explicit |
Create a description of a sample, named after its identifier.
- Parameters
-
| sampleID | The identifier of the SampleWin it plays. |
- Ghidra address:
- 0x1001c020
◆ ~SampleDescWin()
| SampleDescWin::~SampleDescWin |
( |
| ) |
|
Release the description.
- Ghidra address:
- 0x1001c0c4
◆ SetKeymap()
| void SampleDescWin::SetKeymap |
( |
unsigned char | iLow, |
|
|
unsigned char | iBase, |
|
|
unsigned char | iHigh ) |
Set the key range and base key.
- Parameters
-
| iLow | The lowest note, below 128. |
| iBase | The base key, below 128. |
| iHigh | The highest note, below 128. |
- Ghidra address:
- 0x1001c0da
◆ GetKeymap()
| void SampleDescWin::GetKeymap |
( |
unsigned char * | oLow, |
|
|
unsigned char * | oBase, |
|
|
unsigned char * | oHigh ) |
Report the key range and base key.
- Parameters
-
| oLow | Receives the lowest note. |
| oBase | Receives the base key. |
| oHigh | Receives the highest note. |
- Ghidra address:
- 0x1001c196
◆ GetID()
| int SampleDescWin::GetID |
( |
| ) |
const |
|
inline |
Report the identifier.
- Returns
- The identifier.
◆ GetName()
| String & SampleDescWin::GetName |
( |
| ) |
|
|
inline |
Report the name.
- Returns
- The name.
◆ SetName()
| void SampleDescWin::SetName |
( |
const String & | name | ) |
|
|
inline |
Rename the description, unless the new name is empty.
- Parameters
-
◆ GetSampleID()
| int SampleDescWin::GetSampleID |
( |
| ) |
const |
|
inline |
Report the identifier of the sample the description plays.
- Returns
- The identifier of the SampleWin.
- Ghidra address:
- 0x10020430
◆ GetSampleDescription()
Report the playback settings.
- Returns
- The settings.
The documentation for this class was generated from the following file: