summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-09 23:49:44 +0200
committeraap <aap@papnet.eu>2019-07-09 23:49:44 +0200
commit702cd0076506dad26abc3c5239a2cfddfa7deb00 (patch)
treea8f19ccb0e3972f516abeebe85addb4f11ddc601 /src/audio
parentyet more CAutomobile (diff)
downloadre3-702cd0076506dad26abc3c5239a2cfddfa7deb00.tar
re3-702cd0076506dad26abc3c5239a2cfddfa7deb00.tar.gz
re3-702cd0076506dad26abc3c5239a2cfddfa7deb00.tar.bz2
re3-702cd0076506dad26abc3c5239a2cfddfa7deb00.tar.lz
re3-702cd0076506dad26abc3c5239a2cfddfa7deb00.tar.xz
re3-702cd0076506dad26abc3c5239a2cfddfa7deb00.tar.zst
re3-702cd0076506dad26abc3c5239a2cfddfa7deb00.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/DMAudio.cpp2
-rw-r--r--src/audio/DMAudio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
index 6a53623c..b4fee67f 100644
--- a/src/audio/DMAudio.cpp
+++ b/src/audio/DMAudio.cpp
@@ -19,7 +19,7 @@ WRAPPER void cDMAudio::ChangeMusicMode(uint8 mode) { EAXJMP(0x57CCF0); }
WRAPPER void cDMAudio::PlayFrontEndSound(uint32, uint32) { EAXJMP(0x57CC20); }
WRAPPER void cDMAudio::PlayFrontEndTrack(uint32, uint32) { EAXJMP(0x57CC80); }
WRAPPER void cDMAudio::StopFrontEndTrack() { EAXJMP(0x57CCB0); }
-WRAPPER void cDMAudio::PlayOneShot(int32, uint16 /*eSound*/, float) { EAXJMP(0x57C840); }
+WRAPPER void cDMAudio::PlayOneShot(int32 audioentity, uint16 sound/*eSound*/, float) { EAXJMP(0x57C840); }
WRAPPER void cDMAudio::SetMusicMasterVolume(int8) { EAXJMP(0x57C8C0); }
WRAPPER void cDMAudio::SetEffectsMasterVolume(int8) { EAXJMP(0x57C890); }
WRAPPER int8 cDMAudio::SetCurrent3DProvider(int8) { EAXJMP(0x57C9B0); }
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h
index 72e8d316..8be09ac6 100644
--- a/src/audio/DMAudio.h
+++ b/src/audio/DMAudio.h
@@ -190,7 +190,7 @@ public:
void PlayFrontEndSound(uint32, uint32);
void PlayFrontEndTrack(uint32, uint32);
void StopFrontEndTrack();
- void PlayOneShot(int32, uint16, float);
+ void PlayOneShot(int32 audioentity, uint16 sound/*eSound*/, float);
void SetMusicMasterVolume(int8);
void SetEffectsMasterVolume(int8);
int8 SetCurrent3DProvider(int8);