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

◆ ~RtAudioStream()

MayaFlux::Core::RtAudioStream::~RtAudioStream ( )
override

Ensures proper cleanup of stream resources.

Automatically closes the stream if it's still open during destruction.

Definition at line 158 of file RtAudioBackend.cpp.

159{
160 if (is_running()) {
161 stop();
162 }
163 if (is_open()) {
164 close();
165 }
166}
void stop() override
Deactivates the audio stream and halts data transfer.
bool is_open() const override
Checks if the stream is initialized and ready for activation.
void close() override
Terminates the audio stream and releases all resources.
bool is_running() const override
Checks if the stream is actively processing audio data.

References close(), is_open(), is_running(), and stop().

+ Here is the call graph for this function: