Reset both music tracks to their default volume.
| 51 | |
| 52 | // Reset both music tracks to their default volume. |
| 53 | void zMusicRefreshVolume() |
| 54 | { |
| 55 | for (S32 i = 0; i < 2; i++) |
| 56 | { |
| 57 | zMusicTrackInfo* track = &sMusicTrack[i]; |
| 58 | if (track->snd_id != 0) |
| 59 | { |
| 60 | // Only reset volume if the sound ID is not blank. |
| 61 | xSndSetVol(track->snd_id, volume.cur); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | void zMusicInit() |
| 67 | { |
no test coverage detected