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

Method Stop

Source/Sound/threaded_sound_wrapper.cpp:789–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787}
788
789void ThreadedSound::Stop(const unsigned long& handle) {
790 ThreadedSoundMessage tsm(ThreadedSoundMessage::InFStop);
791 tsm.SetHandle(handle);
792 message_queue_in.Queue(tsm);
793}
794
795bool ThreadedSound::IsHandleValid(const unsigned long& handle) {
796 return tsdb.IsHandleValid(handle);

Callers 1

ThreadedSoundLoopFunction · 0.45

Calls 2

SetHandleMethod · 0.80
QueueMethod · 0.45

Tested by

no test coverage detected