summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-23 15:48:20 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commit1e084dfab7136f991975be28f7e5e50c483e7452 (patch)
treef1a9d016136b07cef009666a1234db58a4a64b92
parentPatch PolRadio (diff)
downloadre3-1e084dfab7136f991975be28f7e5e50c483e7452.tar
re3-1e084dfab7136f991975be28f7e5e50c483e7452.tar.gz
re3-1e084dfab7136f991975be28f7e5e50c483e7452.tar.bz2
re3-1e084dfab7136f991975be28f7e5e50c483e7452.tar.lz
re3-1e084dfab7136f991975be28f7e5e50c483e7452.tar.xz
re3-1e084dfab7136f991975be28f7e5e50c483e7452.tar.zst
re3-1e084dfab7136f991975be28f7e5e50c483e7452.zip
-rw-r--r--src/audio/sampman_oal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index 18d1ca37..fae010ed 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -282,7 +282,8 @@ set_new_provider(int index)
_maxSamples = MAXCHANNELS;
ALCint attr[] = {ALC_FREQUENCY,MAX_FREQ,
- ALC_MONO_SOURCES, MAX_DIGITAL_MIXER_CHANNELS,
+ ALC_MONO_SOURCES, MAX_DIGITAL_MIXER_CHANNELS - MAX2DCHANNELS,
+ ALC_STEREO_SOURCES, MAX2DCHANNELS,
0,
};