summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_null.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-09-28 02:40:58 +0200
committerRoman Masanin <36927roma@gmail.com>2020-09-28 02:40:58 +0200
commit1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4 (patch)
tree093a94660e494cc1c83ac9d43fc1be520809926f /src/audio/sampman_null.cpp
parentfix for frequency misscalculation (diff)
parentFixes: PS2/PS2-like menu, Hud, new sliding text found (diff)
downloadre3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.tar
re3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.tar.gz
re3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.tar.bz2
re3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.tar.lz
re3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.tar.xz
re3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.tar.zst
re3-1ea89f5aedbefccd21ad6a7be49afa898a2ab9c4.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 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