MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetUsedDevice

Method SetUsedDevice

Source/Sound/threaded_sound_wrapper.cpp:343–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void ThreadedSoundDataBridge::SetUsedDevice(const std::string& name) {
344 mutex.lock();
345 used_device = name;
346 mutex.unlock();
347}
348
349std::string ThreadedSoundDataBridge::GetUsedDevice() {
350 std::string return_value;

Callers 1

ThreadedSoundLoopFunction · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected