MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
RtAudioSingleton.cpp
Go to the documentation of this file.
2
3namespace MayaFlux::Core {
4std::unique_ptr<RtAudio> RtAudioSingleton::s_instance = nullptr;
7}
static std::unique_ptr< RtAudio > s_instance
Singleton instance of the RtAudio driver (nullptr until first access)
static bool s_stream_open
Stream state flag to enforce exclusive stream ownership.
static std::mutex s_mutex
Synchronization primitive for thread-safe access to the singleton.