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

Method SetHandle

Source/Sound/threaded_sound_wrapper.cpp:137–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void ThreadedSoundMessage::SetHandle(wrapper_sound_handle _wsh) {
138 has_handle = true;
139 wsh = _wsh;
140}
141
142wrapper_sound_handle ThreadedSoundMessage::GetWrapperHandle() {
143 LOG_ASSERT(has_handle);

Callers 10

ThreadedSoundLoopFunction · 0.80
PlayMethod · 0.80
PlayGroupMethod · 0.80
SetPositionMethod · 0.80
TranslatePositionMethod · 0.80
SetVelocityMethod · 0.80
SetPitchMethod · 0.80
SetVolumeMethod · 0.80
StopMethod · 0.80
SetOcclusionPositionMethod · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected