summaryrefslogtreecommitdiffstats
path: root/src/audio/DMAudio.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:12 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:12 +0200
commit3cc20d7962c317aeb1e1e36e77ec270298b51cdb (patch)
treec6fcaef6b3271d8407530c826b92367a4e81ff17 /src/audio/DMAudio.cpp
parentfull script basic support (diff)
parentMerge pull request #555 from erorcun/miami (diff)
downloadre3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.gz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.bz2
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.lz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.xz
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.tar.zst
re3-3cc20d7962c317aeb1e1e36e77ec270298b51cdb.zip
Diffstat (limited to 'src/audio/DMAudio.cpp')
-rw-r--r--src/audio/DMAudio.cpp6
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