Luna::AHI::IDevice::add_capture_data_callback
virtual usize add_capture_data_callback(Function< capture_callback_t > &&callback)=0
Adds a callback that will be called when audio data is captured by the audio driver.
Remark
See capture_callback_t for details.
Parameters
-
in callback
The callback to add.
Return value
Returns one handle that can be used to remove the added callback.