MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ register_output_observer

std::function<uint32_t(std::function<void(const double*, uint32_t)>)> MayaFlux::Registry::Service::AudioBackendService::register_output_observer

Register a per-cycle output observer.

The observer fires on the dedicated notification thread once per output cycle. May be called from any thread at any time.

Parameters
observerCallable receiving (interleaved data ptr, total samples).
Returns
Opaque id for use with unregister_output_observer.

Definition at line 63 of file AudioBackendService.hpp.

Referenced by MayaFlux::IO::IOManager::capture_output().