Audio fixes
This commit is contained in:
1 parent
33fd33b03a
commit
32d3ea0a2d
3 files changed
+109
-104
No files matched your search
@@ -521,7 +521,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)
|
||||
|
||||
Reference in new issue
Block a user