| 735 | } |
| 736 | |
| 737 | S32 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) |
no test coverage detected