summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_null.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-30 01:25:30 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-30 01:25:30 +0200
commitfae4c73ad3789de055b516c94dfaeda573c3050f (patch)
treecde4b80f479c84fe4a164fe3daef1309785f17be /src/audio/sampman_null.cpp
parentUse Const instead of const (last commit) (diff)
parentFix more (diff)
downloadre3-fae4c73ad3789de055b516c94dfaeda573c3050f.tar
re3-fae4c73ad3789de055b516c94dfaeda573c3050f.tar.gz
re3-fae4c73ad3789de055b516c94dfaeda573c3050f.tar.bz2
re3-fae4c73ad3789de055b516c94dfaeda573c3050f.tar.lz
re3-fae4c73ad3789de055b516c94dfaeda573c3050f.tar.xz
re3-fae4c73ad3789de055b516c94dfaeda573c3050f.tar.zst
re3-fae4c73ad3789de055b516c94dfaeda573c3050f.zip
Diffstat (limited to 'src/audio/sampman_null.cpp')
-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 7aab0d09..e9a9eaa1 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)
@@ -136,20 +136,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;
}
@@ -179,7 +179,7 @@ cSampleManager::LoadPedComment(uint32 nComment)
int32
cSampleManager::GetBankContainingSound(uint32 offset)
{
- return SAMPLEBANK_INVALID;
+ return INVALID_SFX_BANK;
}
int32