summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-05-31 19:02:26 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-05-31 19:02:26 +0200
commit28fce310d5cb9a3a81e0f038192a39abd688d1bd (patch)
tree392a32b7c35ad574879564487f52ed14d6d4ea5c /src/audio
parentmore high level functions (diff)
downloadre3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar
re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.gz
re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.bz2
re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.lz
re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.xz
re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.zst
re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/DMAudio.cpp3
-rw-r--r--src/audio/DMAudio.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
index a1165110..019089e7 100644
--- a/src/audio/DMAudio.cpp
+++ b/src/audio/DMAudio.cpp
@@ -4,6 +4,9 @@
cDMAudio &DMAudio = *(cDMAudio*)0x95CDBE;
+WRAPPER void cDMAudio::ReleaseDigitalHandle(void) { EAXJMP(0x57CA10); }
+WRAPPER void cDMAudio::ReacquireDigitalHandle(void) { EAXJMP(0x57CA30); }
+
WRAPPER void cDMAudio::Service(void) { EAXJMP(0x57C7A0); }
WRAPPER void cDMAudio::ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed) { EAXJMP(0x57CBE0); }
WRAPPER void cDMAudio::ResetTimers(UInt32 timerval) { EAXJMP(0x57CCD0); }
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h
index fb341d82..50616289 100644
--- a/src/audio/DMAudio.h
+++ b/src/audio/DMAudio.h
@@ -5,6 +5,8 @@ class CEntity;
class cDMAudio
{
public:
+ void ReleaseDigitalHandle(void);
+ void ReacquireDigitalHandle(void);
void Service(void);
void ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed);
void ResetTimers(UInt32 timerval);