|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|


Public Types | |
| using | EngineProcessCallback |
| using | DeviceAboutToStartCallback = std::function<void ()> |
| using | DeviceStoppedCallback = std::function<void ()> |
Public Member Functions | |
| AudioCallback (EngineProcessCallback process_cb, DeviceAboutToStartCallback device_about_to_start_cb, DeviceStoppedCallback device_stopped_cb) | |
| void | process_audio (std::span< const float *const > input_channels, std::span< float *const > output_channels, units::sample_u32_t 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.
| using zrythm::dsp::AudioCallback::DeviceAboutToStartCallback = std::function<void ()> |
Definition at line 20 of file audio_callback.h.
| using zrythm::dsp::AudioCallback::DeviceStoppedCallback = std::function<void ()> |
Definition at line 21 of file audio_callback.h.
| using zrythm::dsp::AudioCallback::EngineProcessCallback |
Definition at line 16 of file audio_callback.h.
|
overridevirtual |
Called when the audio device is about to start processing.
Implements zrythm::dsp::IAudioCallback.
|
overridevirtual |
Called when an error occurs with the audio device.
Implements zrythm::dsp::IAudioCallback.
|
overridevirtualnoexcept |
Called when the audio device wants to process a block of audio data.
Implements zrythm::dsp::IAudioCallback.
|
overridevirtual |
Called when the audio device has stopped.
Implements zrythm::dsp::IAudioCallback.