summaryrefslogtreecommitdiffstats
path: root/src/audio/oal/stream.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-04 23:32:03 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-04 23:32:03 +0100
commit63e9f6d826b950b959ce112fd3be7bf170b76c8c (patch)
treea576ab10e308cc12e050972af0ca47cdd175049e /src/audio/oal/stream.cpp
parentHandle stereo panning in OAL manually for streams (diff)
downloadre3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.tar
re3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.tar.gz
re3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.tar.bz2
re3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.tar.lz
re3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.tar.xz
re3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.tar.zst
re3-63e9f6d826b950b959ce112fd3be7bf170b76c8c.zip
Diffstat (limited to 'src/audio/oal/stream.cpp')
-rw-r--r--src/audio/oal/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index f36985e5..cf5fe831 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -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)