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

◆ cleanup()

virtual void MayaFlux::Core::IAudioBackend::cleanup ( )
pure virtual

Releases all resources held by the backend.

Performs necessary cleanup operations before backend destruction, including releasing system resources and terminating background processes. This method should be called only before application termination to ensure proper resource deallocation and prevent memory leaks. It is not intended for general use and should not be called during normal application operation. NOTE: The nature of unique_ptr makes manual cleanup redundant. This only exists when it is necessary to take ownership of the cleanup, for example, when a different backend needs to be used or when Audio is no longer needed.

Implemented in MayaFlux::Core::RtAudioBackend.