summaryrefslogtreecommitdiffstats
path: root/src/audio/DMAudio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-29 00:52:49 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-29 00:52:49 +0200
commit7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab (patch)
tree40a032476478e7009e26fb85d78f7f27a15cca34 /src/audio/DMAudio.cpp
parentReverse unused audio functions from mobile (diff)
downloadre3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.tar
re3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.tar.gz
re3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.tar.bz2
re3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.tar.lz
re3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.tar.xz
re3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.tar.zst
re3-7bacf3b6f48aa5c46079c8019963f47a1e7cf9ab.zip
Diffstat (limited to 'src/audio/DMAudio.cpp')
-rw-r--r--src/audio/DMAudio.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
index ad8a12d9..f5b08c71 100644
--- a/src/audio/DMAudio.cpp
+++ b/src/audio/DMAudio.cpp
@@ -63,9 +63,9 @@ cDMAudio::DestroyAllGameCreatedEntities(void)
}
void
-cDMAudio::SetMonoMode(bool8 mono)
+cDMAudio::SetOutputMode(bool8 surround)
{
- AudioManager.SetMonoMode(mono);
+ return AudioManager.SetOutputMode(surround);
}
void
@@ -322,6 +322,12 @@ cDMAudio::PlayLoadedMissionAudio(uint8 slot)
}
bool8
+cDMAudio::IsMissionAudioSamplePlaying(uint8 slot)
+{
+ return AudioManager.IsMissionAudioSamplePlaying(slot);
+}
+
+bool8
cDMAudio::IsMissionAudioSampleFinished(uint8 slot)
{
return AudioManager.IsMissionAudioSampleFinished(slot);
@@ -333,6 +339,12 @@ cDMAudio::ClearMissionAudio(uint8 slot)
AudioManager.ClearMissionAudio(slot);
}
+const char *
+cDMAudio::GetMissionAudioLoadedLabel(uint8 slot)
+{
+ return AudioManager.GetMissionAudioLoadedLabel(slot);
+}
+
uint8
cDMAudio::GetRadioInCar(void)
{