summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-07-02 13:59:19 +0200
committer_AG <gennariarmando@outlook.com>2019-07-02 14:36:40 +0200
commit6c693e3bbfe46cb445e4664eb91ef85c811a6240 (patch)
treed088600e9f1a18be005476d7a43a7232ccd1764f /src/audio
parentMerge pull request #86 from erorcun/erorcun (diff)
downloadre3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar
re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.gz
re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.bz2
re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.lz
re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.xz
re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.tar.zst
re3-6c693e3bbfe46cb445e4664eb91ef85c811a6240.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/DMAudio.cpp9
-rw-r--r--src/audio/DMAudio.h8
2 files changed, 14 insertions, 3 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
index b3887c70..824d5c39 100644
--- a/src/audio/DMAudio.cpp
+++ b/src/audio/DMAudio.cpp
@@ -17,8 +17,13 @@ WRAPPER bool cDMAudio::CheckForAnAudioFileOnCD() { EAXJMP(0x57CA70); }
WRAPPER void cDMAudio::ChangeMusicMode(uint8 mode) { EAXJMP(0x57CCF0); }
WRAPPER void cDMAudio::PlayFrontEndSound(uint32, uint32) { EAXJMP(0x57CC20); }
-WRAPPER void cDMAudio::PlayOneShot(int, uint16, float) { EAXJMP(0x57C840); }
-
+WRAPPER void cDMAudio::PlayFrontEndTrack(uint32, uint32) { EAXJMP(0x57CC80); }
+WRAPPER void cDMAudio::StopFrontEndTrack() { EAXJMP(0x57CCB0); }
+WRAPPER void cDMAudio::PlayOneShot(int32, uint16, float) { EAXJMP(0x57C840); }
+WRAPPER void cDMAudio::SetMusicMasterVolume(int8) { EAXJMP(0x57C8C0); }
+WRAPPER void cDMAudio::SetEffectsMasterVolume(int8) { EAXJMP(0x57C890); }
+WRAPPER int8 cDMAudio::SetCurrent3DProvider(int8) { EAXJMP(0x57C9B0); }
+WRAPPER int32 cDMAudio::SetSpeakerConfig(int32) { EAXJMP(0x57C9D0); }
WRAPPER int32 cDMAudio::GetRadioInCar() { EAXJMP(0x57CE40); }
WRAPPER uint8 cDMAudio::IsMP3RadioChannelAvailable() { EAXJMP(0x57C9F0); }
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h
index 46b40e37..46914aaa 100644
--- a/src/audio/DMAudio.h
+++ b/src/audio/DMAudio.h
@@ -188,7 +188,13 @@ public:
bool CheckForAnAudioFileOnCD(void);
void ChangeMusicMode(uint8 mode);
void PlayFrontEndSound(uint32, uint32);
- void PlayOneShot(int, uint16, float);
+ void PlayFrontEndTrack(uint32, uint32);
+ void StopFrontEndTrack();
+ void PlayOneShot(int32, uint16, float);
+ void SetMusicMasterVolume(int8);
+ void SetEffectsMasterVolume(int8);
+ int8 SetCurrent3DProvider(int8);
+ int32 SetSpeakerConfig(int32);
int32 GetRadioInCar(void);
void SetEffectsFadeVol(uint8);
void SetMusicFadeVol(uint8);