From 3fe17b6bbdbb6cdbe811e43f72394e2f6ba482cd Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Thu, 2 Sep 2010 13:05:34 -0700 Subject: Applied patch by Damian Delacrois for VWR-10592: sounds not working when running multiple instances --- linden/indra/llaudio/audioengine_openal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra/llaudio/audioengine_openal.cpp') diff --git a/linden/indra/llaudio/audioengine_openal.cpp b/linden/indra/llaudio/audioengine_openal.cpp index b4eed57..84305f0 100644 --- a/linden/indra/llaudio/audioengine_openal.cpp +++ b/linden/indra/llaudio/audioengine_openal.cpp @@ -109,7 +109,7 @@ bool LLAudioEngine_OpenAL::init(const S32 num_channels, void* userdata) ALCdevice *device = alcGetContextsDevice(alcGetCurrentContext()); alcGetIntegerv(device, ALC_MAJOR_VERSION, 1, &major); - alcGetIntegerv(device, ALC_MAJOR_VERSION, 1, &minor); + alcGetIntegerv(device, ALC_MINOR_VERSION, 1, &minor); llinfos << "ALC version: " << major << "." << minor << llendl; llinfos << "ALC default device: " -- cgit v1.1