diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-25 09:42:24 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-25 09:42:24 +0200 |
commit | 93b318cfdf75b8ca33ee70cbe1afeee851fce27e (patch) | |
tree | 08bb69cfaeaa18d94cc5e1a046947375b632911f /src/audio/DMAudio.cpp | |
parent | de09a80a357dbfdba2a5272c2181b6c5726f4c79 (diff) |
DMAudio fixes
Diffstat (limited to 'src/audio/DMAudio.cpp')
-rw-r--r-- | src/audio/DMAudio.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index ade53d9b..5fb1b81c 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -241,13 +241,13 @@ cDMAudio::PlayFrontEndSound(uint16 frontend, uint32 volume) } void -cDMAudio::PlayRadioAnnouncement(uint8 announcement) +cDMAudio::PlayRadioAnnouncement(uint32 announcement) { MusicManager.PlayAnnouncement(announcement); } void -cDMAudio::PlayFrontEndTrack(uint8 track, uint8 frontendFlag) +cDMAudio::PlayFrontEndTrack(uint32 track, uint8 frontendFlag) { MusicManager.PlayFrontEndTrack(track, frontendFlag); } @@ -271,7 +271,7 @@ cDMAudio::ChangeMusicMode(uint8 mode) } void -cDMAudio::PreloadCutSceneMusic(uint8 track) +cDMAudio::PreloadCutSceneMusic(uint32 track) { MusicManager.PreloadCutSceneMusic(track); } @@ -337,7 +337,7 @@ cDMAudio::SetRadioInCar(uint32 radio) } void -cDMAudio::SetRadioChannel(int8 radio, int32 pos) +cDMAudio::SetRadioChannel(uint32 radio, int32 pos) { MusicManager.SetRadioChannelByScript(radio, pos); } @@ -373,7 +373,7 @@ cDMAudio::SetPedTalkingStatus(CPed *ped, uint8 status) } void -cDMAudio::SetPlayersMood(uint8 mood, int32 time) +cDMAudio::SetPlayersMood(uint8 mood, uint32 time) { return AudioManager.SetPlayersMood(mood, time); } |