aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-19 19:28:34 -0800
committerChris Robinson <[email protected]>2008-01-19 19:28:34 -0800
commit86b7b3d54b7b753148612919a17610058841ed64 (patch)
tree2582c9d49435982cdb002c4ca3949537ddeb5270 /Alc/ALc.c
parent799ba1f9541c1310186805bd3e276eb9fc708ca2 (diff)
Remove duplication of setting the max source count
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 08944700..0d6af1dc 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1156,6 +1156,8 @@ ALCAPI ALCdevice* ALCAPIENTRY alcOpenDevice(const ALCchar *deviceName)
if((ALint)device->UpdateFreq <= 0)
device->UpdateFreq = 8192;
+ device->MaxNoOfSources = 256;
+
// Find a playback device to open
for(i = 0;BackendList[i].Init;i++)
{