summaryrefslogtreecommitdiffstats
path: root/src/audio/DMAudio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-25 08:42:24 +0100
committerSergeanur <s.anureev@yandex.ua>2020-10-25 08:42:24 +0100
commit93b318cfdf75b8ca33ee70cbe1afeee851fce27e (patch)
tree08bb69cfaeaa18d94cc5e1a046947375b632911f /src/audio/DMAudio.cpp
parentMessages fix and update librw (diff)
downloadre3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.tar
re3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.tar.gz
re3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.tar.bz2
re3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.tar.lz
re3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.tar.xz
re3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.tar.zst
re3-93b318cfdf75b8ca33ee70cbe1afeee851fce27e.zip
Diffstat (limited to '')
-rw-r--r--src/audio/DMAudio.cpp10
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);
}