33 const float *
const * input_channel_data,
34 int num_input_channels,
35 float *
const * output_channel_data,
36 int num_output_channels,
37 int num_samples)
noexcept = 0;
52 virtual void error (std::string_view error_message) = 0;
Pure-abstract audio callback interface.
virtual void stopped()=0
Called when the audio device has stopped.
virtual 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=0
Called when the audio device wants to process a block of audio data.
virtual void about_to_start()=0
Called when the audio device is about to start processing.
virtual void error(std::string_view error_message)=0
Called when an error occurs with the audio device.