| 330 | |
| 331 | U32 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 | |
| 344 | void xSndStop(U32 snd) |
| 345 | { |
| 346 | iSndStop(snd); |
| 347 | } |
no test coverage detected