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

Function xSndStopChildren

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

Source from the content-addressed store, hash-verified

330
331U32 xSndIDIsPlaying(U32 sndID)
332{
333 xSndVoiceInfo* voice = gSnd.voice;
334 for (int i = 0; i < 64; i++, voice++)
335 {
336 if (voice->flags & 1 && voice->sndID == sndID)
337 {
338 return 1;
339 }
340 }
341 return 0;
342}
343
344void xSndStop(U32 snd)
345{
346 iSndStop(snd);
347}

Callers 1

SndKillSoundsMethod · 0.50

Calls 1

iSndStopFunction · 0.85

Tested by

no test coverage detected