Stop all tracks and set them to null.
| 408 | |
| 409 | // Stop all tracks and set them to null. |
| 410 | void zMusicKill() |
| 411 | { |
| 412 | for (S32 i = 0; i < 2; i++) |
| 413 | { |
| 414 | zMusicTrackInfo* track = &sMusicTrack[i]; |
| 415 | if (track->snd_id != 0) |
| 416 | { |
| 417 | xSndStop(track->snd_id); |
| 418 | track->snd_id = 0; |
| 419 | track->loop = 0; |
| 420 | track->situation = NULL; |
| 421 | } |
| 422 | } |
| 423 | } |
| 424 | |
| 425 | // Pause music by stopping any non-null tracks. |
| 426 | void zMusicPause() |