mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 05:45:07 +00:00
cMusicManager, cDMAudio, radio position save/load, a few commands implemented
This commit is contained in:
parent
9b47625115
commit
4f4b1f9145
21 changed files with 1418 additions and 753 deletions
|
@ -216,6 +216,12 @@ cAudioManager::PlayOneShot(int32 index, int16 sound, float vol)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
cAudioManager::SetMP3BoostVolume(uint8 volume) const
|
||||
{
|
||||
SampleManager.SetMP3BoostVolume(volume);
|
||||
}
|
||||
|
||||
void
|
||||
cAudioManager::SetEffectsMasterVolume(uint8 volume) const
|
||||
{
|
||||
|
@ -336,6 +342,15 @@ cAudioManager::GetCurrent3DProviderIndex() const
|
|||
return -1;
|
||||
}
|
||||
|
||||
int8
|
||||
cAudioManager::AutoDetect3DProviders() const
|
||||
{
|
||||
if (m_bIsInitialised)
|
||||
return SampleManager.AutoDetect3DProviders();
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
int8
|
||||
cAudioManager::SetCurrent3DProvider(uint8 which)
|
||||
{
|
||||
|
@ -420,6 +435,7 @@ cAudioManager::IsAudioInitialised() const
|
|||
void
|
||||
cAudioManager::ServiceSoundEffects()
|
||||
{
|
||||
field_5554++;
|
||||
m_bFifthFrameFlag = (m_FrameCounter++ % 5) == 0;
|
||||
if (m_nUserPause && !m_nPreviousUserPause) {
|
||||
for (int32 i = 0; i < allChannels; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue