diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-08 09:34:31 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-08 09:34:31 +0200 |
commit | 36a6d124aa4ef679a9429c990874576ce2ec27f1 (patch) | |
tree | 897389f5c60db94181f5275a184ff27341dcdd18 /src/audio/DMAudio.cpp | |
parent | Scale font shadow (diff) | |
download | re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.tar re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.tar.gz re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.tar.bz2 re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.tar.lz re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.tar.xz re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.tar.zst re3-36a6d124aa4ef679a9429c990874576ce2ec27f1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/DMAudio.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index 18d13c9d..7f2dd176 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -290,39 +290,39 @@ cDMAudio::StopCutSceneMusic(void) } void -cDMAudio::PreloadMissionAudio(char *missionAudio) +cDMAudio::PreloadMissionAudio(uint8 slot, Const char *missionAudio) { - AudioManager.PreloadMissionAudio(missionAudio); + AudioManager.PreloadMissionAudio(slot, missionAudio); } uint8 -cDMAudio::GetMissionAudioLoadingStatus(void) +cDMAudio::GetMissionAudioLoadingStatus(uint8 slot) { - return AudioManager.GetMissionAudioLoadingStatus(); + return AudioManager.GetMissionAudioLoadingStatus(slot); } void -cDMAudio::SetMissionAudioLocation(float x, float y, float z) +cDMAudio::SetMissionAudioLocation(uint8 slot, float x, float y, float z) { - AudioManager.SetMissionAudioLocation(x, y, z); + AudioManager.SetMissionAudioLocation(slot, x, y, z); } void -cDMAudio::PlayLoadedMissionAudio(void) +cDMAudio::PlayLoadedMissionAudio(uint8 slot) { - AudioManager.PlayLoadedMissionAudio(); + AudioManager.PlayLoadedMissionAudio(slot); } bool -cDMAudio::IsMissionAudioSampleFinished(void) +cDMAudio::IsMissionAudioSampleFinished(uint8 slot) { - return AudioManager.IsMissionAudioSampleFinished(); + return AudioManager.IsMissionAudioSampleFinished(slot); } void -cDMAudio::ClearMissionAudio(void) +cDMAudio::ClearMissionAudio(uint8 slot) { - AudioManager.ClearMissionAudio(); + AudioManager.ClearMissionAudio(slot); } uint8 |