Merge pull request #509 from Fire-Head/master

OpenAL update
This commit is contained in:
erorcun 2020-05-11 03:23:36 +03:00 committed by GitHub
commit c66c45f4c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 18965 additions and 2123 deletions

View file

@ -9245,7 +9245,7 @@ cAudioManager::ResetTimers(uint32 time)
SampleManager.SetEffectsFadeVolume(0);
SampleManager.SetMusicFadeVolume(0);
MusicManager.ResetMusicAfterReload();
#ifdef OPENAL
#ifdef AUDIO_OAL
SampleManager.Service();
#endif
}
@ -9301,7 +9301,7 @@ cAudioManager::ServiceSoundEffects()
ProcessMissionAudio();
AdjustSamplesVolume();
ProcessActiveQueues();
#ifdef OPENAL
#ifdef AUDIO_OAL
SampleManager.Service();
#endif
for (int32 i = 0; i < m_sAudioScriptObjectManager.m_nScriptObjectEntityTotal; ++i) {