summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_null.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-19 14:55:27 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-19 14:55:27 +0200
commit7efc153dc9c452e63a6010226d7eba0f13358d41 (patch)
tree9e5eb6e279c63b453cce3ddbd5f6a70a11a5db7a /src/audio/sampman_null.cpp
parentFix RotateY (diff)
downloadre3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar
re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.gz
re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.bz2
re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.lz
re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.xz
re3-7efc153dc9c452e63a6010226d7eba0f13358d41.tar.zst
re3-7efc153dc9c452e63a6010226d7eba0f13358d41.zip
Diffstat (limited to '')
-rw-r--r--src/audio/sampman_null.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio/sampman_null.cpp b/src/audio/sampman_null.cpp
index 6ec8a521..e44e5b57 100644
--- a/src/audio/sampman_null.cpp
+++ b/src/audio/sampman_null.cpp
@@ -6,7 +6,7 @@
cSampleManager SampleManager;
bool _bSampmanInitialised = false;
-uint32 BankStartOffset[MAX_SAMPLEBANKS];
+uint32 BankStartOffset[MAX_SFX_BANKS];
uint32 nNumMP3s;
cSampleManager::cSampleManager(void)
@@ -131,20 +131,20 @@ cSampleManager::SetMonoMode(uint8 nMode)
bool
cSampleManager::LoadSampleBank(uint8 nBank)
{
- ASSERT( nBank < MAX_SAMPLEBANKS );
+ ASSERT( nBank < MAX_SFX_BANKS );
return false;
}
void
cSampleManager::UnloadSampleBank(uint8 nBank)
{
- ASSERT( nBank < MAX_SAMPLEBANKS );
+ ASSERT( nBank < MAX_SFX_BANKS );
}
bool
cSampleManager::IsSampleBankLoaded(uint8 nBank)
{
- ASSERT( nBank < MAX_SAMPLEBANKS );
+ ASSERT( nBank < MAX_SFX_BANKS );
return false;
}
@@ -174,7 +174,7 @@ cSampleManager::LoadPedComment(uint32 nComment)
int32
cSampleManager::GetBankContainingSound(uint32 offset)
{
- return SAMPLEBANK_INVALID;
+ return INVALID_SFX_BANK;
}
int32