MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xSndStreamUnlock

Function xSndStreamUnlock

src/SB/Core/x/xSnd.cpp:412–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410 in = rhs.in;
411 handle = rhs.handle;
412 start_delay = rhs.start_delay;
413 time = rhs.time;
414 end_time = rhs.end_time;
415 volume = rhs.volume;
416}
417
418U32 xSndStreamReady(U32 owner)
419{
420 xSndVoiceInfo* begin = gSnd.voice;
421 xSndVoiceInfo* end = begin + 6;
422
423 for (xSndVoiceInfo* v = begin; v != end; v++)
424 {
425 if (v->lock_owner == owner)
426 {
427 if (v->flags & 1)
428 {

Callers 1

unlock_streamFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected