Audio fixes

This commit is contained in:
Sergeanur committed 2021-01-05 00:32:03 +02:00
1 parent 150f5302b7
commit 63e9f6d826
2 files changed
+75 -75

No files matched your search

+1 -1
View File
@@ -466,7 +466,7 @@ void CStream::Pause()
if ( !HasSource() ) return;
ALint sourceState = AL_PAUSED;
alGetSourcei(m_pAlSources[0], AL_SOURCE_STATE, &sourceState);
if (sourceState != AL_PAUSED )
if (sourceState != AL_PAUSED)
alSourcePause(m_pAlSources[0]);
alGetSourcei(m_pAlSources[1], AL_SOURCE_STATE, &sourceState);
if (sourceState != AL_PAUSED)