diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-16 19:29:13 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-16 19:29:13 +0200 |
commit | 13a0bf1c436d6d2d66d4c53c845114fa1718ad0b (patch) | |
tree | 81c7cfc8f071f6f6c81067e3b4751239d9842677 /src/audio/DMAudio.cpp | |
parent | Fix audio use of number instead of enum for CAR_ACCEL (diff) | |
download | re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.tar re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.tar.gz re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.tar.bz2 re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.tar.lz re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.tar.xz re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.tar.zst re3-13a0bf1c436d6d2d66d4c53c845114fa1718ad0b.zip |
Diffstat (limited to 'src/audio/DMAudio.cpp')
-rw-r--r-- | src/audio/DMAudio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index 888081b7..18d13c9d 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -29,7 +29,7 @@ cDMAudio::Service(void) } int32 -cDMAudio::CreateEntity(int32 type, void *UID) +cDMAudio::CreateEntity(eAudioType type, void *UID) { return AudioManager.CreateEntity(type, (CPhysical *)UID); } @@ -82,7 +82,7 @@ cDMAudio::SetEffectsFadeVol(uint8 volume) uint8 vol = volume; if ( vol > MAX_VOLUME ) vol = MAX_VOLUME; - AudioManager.SetEffectsFadeVolume(vol); + AudioManager.SetEffectsFadeVol(vol); } void @@ -91,7 +91,7 @@ cDMAudio::SetMusicFadeVol(uint8 volume) uint8 vol = volume; if ( vol > MAX_VOLUME ) vol = MAX_VOLUME; - AudioManager.SetMusicFadeVolume(vol); + AudioManager.SetMusicFadeVol(vol); } uint8 |