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

Method SetAvailableDevices

Source/Sound/threaded_sound_wrapper.cpp:365–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365void ThreadedSoundDataBridge::SetAvailableDevices(std::vector<std::string> devices) {
366 mutex.lock();
367 available_devices = devices;
368 mutex.unlock();
369}
370
371void ThreadedSoundMessageQueue::Queue(const ThreadedSoundMessage& ev) {
372 mutex.lock();

Callers 1

ThreadedSoundLoopFunction · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected