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

Function iSndWaitForDeadSounds

src/SB/Core/gc/iSnd.cpp:737–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735}
736
737S32 iSndPlay(xSndVoiceInfo* vp)
738{
739 S32 offset = (S32)vp - (S32)gSnd.voice;
740 S32 div = offset / 100;
741
742 xSTAssetName(vp->assetID);
743
744 if ((div < 0) || (div >= 64))
745 {
746 return 0;
747 }
748 else if (div < 6)
749 {
750 U32 ret = iSndPrepStream(vp);
751 if (ret < 0x3a)
752 {
753 if (vp->flags & 0x200)

Callers 2

zSceneExitFunction · 0.50
zSceneResetFunction · 0.50

Calls 1

iSndUpdateFunction · 0.85

Tested by

no test coverage detected