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

Method findQueueHandle

extlibs/soloud/src/core/soloud_queue.cpp:88–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 void Queue::findQueueHandle()
89 {
90 // Find the channel the queue is playing on to calculate handle..
91 int i;
92 for (i = 0; mQueueHandle == 0 && i < (signed)mSoloud->mHighestVoice; i++)
93 {
94 if (mSoloud->mVoice[i] == mInstance)
95 {
96 mQueueHandle = mSoloud->getHandleFromVoice(i);
97 }
98 }
99 }
100
101 result Queue::play(AudioSource &aSound)
102 {

Callers

nothing calls this directly

Calls 1

getHandleFromVoiceMethod · 0.80

Tested by

no test coverage detected