Audio fixes
This commit is contained in:
1 parent
150f5302b7
commit
63e9f6d826
2 files changed
+75
-75
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user