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

◆ cleanup()

void MayaFlux::Core::RtAudioBackend::cleanup ( )
overridevirtual

Releases all resources held by the backend.

Performs necessary cleanup operations before backend destruction, including releasing the RtAudio context and any associated resources. 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.

Implements MayaFlux::Core::IAudioBackend.

Definition at line 72 of file RtAudioBackend.cpp.

73{
75}
static void cleanup()
Releases all audio system resources.

References MayaFlux::Core::RtAudioSingleton::cleanup().

+ Here is the call graph for this function: