MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getHandleFromVoice

Method getHandleFromVoice

extlibs/soloud/src/core/soloud_core_getters.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 handle Soloud::getHandleFromVoice(unsigned int aVoice) const
47 {
48 if (mVoice[aVoice] == 0)
49 return 0;
50 return (aVoice + 1) | (mVoice[aVoice]->mPlayIndex << 12);
51 }
52
53 int Soloud::getVoiceFromHandle(handle aVoiceHandle) const
54 {

Callers 2

findQueueHandleMethod · 0.80
findBusHandleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected