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

Method isValidVoiceHandle

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

Source from the content-addressed store, hash-verified

103 }
104
105 bool Soloud::isValidVoiceHandle(handle aVoiceHandle)
106 {
107 // voice groups are not valid voice handles
108 if ((aVoiceHandle & 0xfffff000) == 0xfffff000)
109 return 0;
110
111 lockAudioMutex();
112 if (getVoiceFromHandle(aVoiceHandle) != -1)
113 {
114 unlockAudioMutex();
115 return 1;
116 }
117 unlockAudioMutex();
118 return 0;
119 }
120
121
122 time Soloud::getLoopPoint(handle aVoiceHandle)

Callers 2

playMethod · 0.80
getStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected