Synthesizer module synthesizer instance peer.
More...
#include <deBaseSynthesizerSynthesizerInstance.h>
Synthesizer module synthesizer instance peer.
◆ deBaseSynthesizerSynthesizerInstance()
deBaseSynthesizerSynthesizerInstance::deBaseSynthesizerSynthesizerInstance |
( |
| ) |
|
◆ ~deBaseSynthesizerSynthesizerInstance()
virtual deBaseSynthesizerSynthesizerInstance::~deBaseSynthesizerSynthesizerInstance |
( |
| ) |
|
|
virtual |
◆ ControllerChanged()
virtual void deBaseSynthesizerSynthesizerInstance::ControllerChanged |
( |
int |
index | ) |
|
|
virtual |
◆ GenerateSound()
virtual void deBaseSynthesizerSynthesizerInstance::GenerateSound |
( |
void * |
buffer, |
|
|
int |
bufferSize, |
|
|
int |
offset, |
|
|
int |
samples |
|
) |
| |
|
pure virtual |
Generate sound.
- Warning
- Audio module is allowed to call this asynchronously.
- Parameters
-
[out] | buffer | Buffer to store samples in. |
[in] | bufferSize | Size of buffer in bytes to store samples in. Has to match format. |
[in] | offset | Offset in samples to produce sound at. |
[in] | samples | Number of samples to produce. |
- Exceptions
-
EInvalidParam | bufferSize does not match format. |
EInvalidParam | buffer is NULL. |
EInvalidParam | Assigned synthesizer object changed while in use. |
◆ PlayTimeChanged()
virtual void deBaseSynthesizerSynthesizerInstance::PlayTimeChanged |
( |
| ) |
|
|
virtual |
◆ Reset()
virtual void deBaseSynthesizerSynthesizerInstance::Reset |
( |
| ) |
|
|
pure virtual |
Reset synthesizer playback.
- Warning
- Audio module is allowed to call this asynchronously.
◆ SynthesizerChanged()
virtual void deBaseSynthesizerSynthesizerInstance::SynthesizerChanged |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: