diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-07-16 16:01:49 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-07-16 16:01:49 +0200 |
commit | 5b394133a2e0b9b3acc79f7f23cdc3bba786ef56 (patch) | |
tree | 4d1cf12d1f71ff1f6afdaa39dee0a3e3e16d61bd /src/audio | |
parent | Phone, World, Ped (diff) | |
parent | started making frontend accurate to game (diff) | |
download | re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.gz re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.bz2 re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.lz re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.xz re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.tar.zst re3-5b394133a2e0b9b3acc79f7f23cdc3bba786ef56.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/DMAudio.cpp | 6 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index 1c1316a8..2019c394 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -20,9 +20,9 @@ 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 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); } +WRAPPER void cDMAudio::SetMusicMasterVolume(uint8) { EAXJMP(0x57C8C0); } +WRAPPER void cDMAudio::SetEffectsMasterVolume(uint8) { EAXJMP(0x57C890); } +WRAPPER uint8 cDMAudio::SetCurrent3DProvider(uint8) { EAXJMP(0x57C9B0); } WRAPPER int32 cDMAudio::SetSpeakerConfig(int32) { EAXJMP(0x57C9D0); } WRAPPER int32 cDMAudio::GetRadioInCar() { EAXJMP(0x57CE40); } diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index 0a2ce6ac..b671e260 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -192,9 +192,9 @@ public: void PlayFrontEndTrack(uint32, uint32); void StopFrontEndTrack(); void PlayOneShot(int32 audioentity, uint16 sound/*eSound*/, float); - void SetMusicMasterVolume(int8); - void SetEffectsMasterVolume(int8); - int8 SetCurrent3DProvider(int8); + void SetMusicMasterVolume(uint8); + void SetEffectsMasterVolume(uint8); + uint8 SetCurrent3DProvider(uint8); int32 SetSpeakerConfig(int32); int32 GetRadioInCar(void); void SetEffectsFadeVol(uint8); |