MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / startUpdateThread

Method startUpdateThread

src/engine/AudioEngine.cpp:795–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

793}
794
795bool Xaudio2Implementation::startUpdateThread()
796{
797 if (m_updateThread.joinable())
798 {
799 log::error("AudioEngine : update thread already running");
800 return false;
801 }
802 m_updateRunning = true;
803 m_updateThread = std::thread(&Xaudio2Implementation::update, this);
804 return true;
805}
806
807void Xaudio2Implementation::stopUpdateThread()
808{

Callers 1

createMethod · 0.80

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected