mirror of
https://github.com/GTAmodding/re3.git
synced 2025-02-27 09:03:55 +00:00
Audio: ps2 code ifdef
# Conflicts: # src/audio/AudioManager.h
This commit is contained in:
parent
355c260bf2
commit
320624edc8
2 changed files with 12 additions and 8 deletions
|
@ -1393,13 +1393,6 @@ cAudioManager::ClearActiveSamples()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
cAudioManager::LoadBankIfNecessary(uint8 bank)
|
|
||||||
{
|
|
||||||
if(!SampleManager.IsSampleBankLoaded(bank))
|
|
||||||
SampleManager.LoadSampleBank(bank);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
cAudioManager::GenerateIntegerRandomNumberTable()
|
cAudioManager::GenerateIntegerRandomNumberTable()
|
||||||
{
|
{
|
||||||
|
@ -1407,6 +1400,15 @@ cAudioManager::GenerateIntegerRandomNumberTable()
|
||||||
m_anRandomTable[i] = myrand();
|
m_anRandomTable[i] = myrand();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef GTA_PS2
|
||||||
|
void
|
||||||
|
cAudioManager::LoadBankIfNecessary(uint8 bank)
|
||||||
|
{
|
||||||
|
if(!SampleManager.IsSampleBankLoaded(bank))
|
||||||
|
SampleManager.LoadSampleBank(bank);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef EXTERNAL_3D_SOUND
|
#ifdef EXTERNAL_3D_SOUND
|
||||||
void
|
void
|
||||||
cAudioManager::AdjustSamplesVolume()
|
cAudioManager::AdjustSamplesVolume()
|
||||||
|
|
|
@ -349,7 +349,9 @@ public:
|
||||||
void ClearRequestedQueue(); // inlined in vc
|
void ClearRequestedQueue(); // inlined in vc
|
||||||
void ClearActiveSamples();
|
void ClearActiveSamples();
|
||||||
void GenerateIntegerRandomNumberTable();
|
void GenerateIntegerRandomNumberTable();
|
||||||
void LoadBankIfNecessary(uint8 bank);
|
#ifdef GTA_PS2
|
||||||
|
void LoadBankIfNecessary(uint8 bank); // this is used only on PS2 but technically not a platform code
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef EXTERNAL_3D_SOUND // actually must have been && AUDIO_MSS as well
|
#ifdef EXTERNAL_3D_SOUND // actually must have been && AUDIO_MSS as well
|
||||||
void AdjustSamplesVolume(); // inlined
|
void AdjustSamplesVolume(); // inlined
|
||||||
|
|
Loading…
Add table
Reference in a new issue