diff options
author | aap <aap@papnet.eu> | 2019-07-02 21:30:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 21:30:45 +0200 |
commit | 743668c5c4c70f4e4e5d55c9dbabbbd766f97642 (patch) | |
tree | 5528c867887149a951ca73ec2492d05a8c7f5a46 /src/audio | |
parent | Merge pull request #86 from erorcun/erorcun (diff) | |
parent | Removed macros from Pad.cpp: (diff) | |
download | re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.tar re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.tar.gz re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.tar.bz2 re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.tar.lz re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.tar.xz re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.tar.zst re3-743668c5c4c70f4e4e5d55c9dbabbbd766f97642.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/DMAudio.cpp | 9 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 8 |
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); |