|
|
| AudioCallback (EngineProcessCallback process_cb, DeviceAboutToStartCallback device_about_to_start_cb, DeviceStoppedCallback device_stopped_cb) |
| void | process_audio (const float *const *input_channel_data, int num_input_channels, float *const *output_channel_data, int num_output_channels, int num_samples) noexcept override |
| | Called when the audio device wants to process a block of audio data.
|
| void | about_to_start () override |
| | Called when the audio device is about to start processing.
|
| void | stopped () override |
| | Called when the audio device has stopped.
|
| void | error (std::string_view error_message) override |
| | Called when an error occurs with the audio device.
|
Definition at line 13 of file audio_callback.h.
◆ DeviceAboutToStartCallback
| using zrythm::dsp::AudioCallback::DeviceAboutToStartCallback = std::function<void ()> |
◆ DeviceStoppedCallback
| using zrythm::dsp::AudioCallback::DeviceStoppedCallback = std::function<void ()> |
◆ EngineProcessCallback
| using zrythm::dsp::AudioCallback::EngineProcessCallback |
Initial value:std::function<void (
const float * const * inputChannelData,
int numInputChannels,
float * const * outputChannelData,
int numOutputChannels,
int numSamples)>
Definition at line 16 of file audio_callback.h.
◆ about_to_start()
| void zrythm::dsp::AudioCallback::about_to_start |
( |
| ) |
|
|
overridevirtual |
◆ error()
| void zrythm::dsp::AudioCallback::error |
( |
std::string_view | error_message | ) |
|
|
overridevirtual |
◆ process_audio()
| void zrythm::dsp::AudioCallback::process_audio |
( |
const float *const * | input_channel_data, |
|
|
int | num_input_channels, |
|
|
float *const * | output_channel_data, |
|
|
int | num_output_channels, |
|
|
int | num_samples ) |
|
overridevirtualnoexcept |
Called when the audio device wants to process a block of audio data.
- Parameters
-
| input_channel_data | Array of pointers to input channel data |
| num_input_channels | Number of input channels |
| output_channel_data | Array of pointers to output channel data |
| num_output_channels | Number of output channels |
| num_samples | Number of samples in this block |
Implements zrythm::dsp::IAudioCallback.
◆ stopped()
| void zrythm::dsp::AudioCallback::stopped |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: