diff options
author | Jacek Antonelli | 2008-12-06 14:03:10 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-06 14:03:10 -0600 |
commit | b29b13ad98c5c79fd63bae10b4b099a03fa9dc35 (patch) | |
tree | ffc14fd638344c84287d1c4a72d2de5f765bf3c8 /linden/indra/newview/llpreviewsound.cpp | |
parent | openal on windows branch (diff) | |
download | meta-impy-b29b13ad98c5c79fd63bae10b4b099a03fa9dc35.zip meta-impy-b29b13ad98c5c79fd63bae10b4b099a03fa9dc35.tar.gz meta-impy-b29b13ad98c5c79fd63bae10b4b099a03fa9dc35.tar.bz2 meta-impy-b29b13ad98c5c79fd63bae10b4b099a03fa9dc35.tar.xz |
Updated audio engine to LL's openal branch r1532.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpreviewsound.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/newview/llpreviewsound.cpp b/linden/indra/newview/llpreviewsound.cpp index 9ba6fd5..6b79bfb 100644 --- a/linden/indra/newview/llpreviewsound.cpp +++ b/linden/indra/newview/llpreviewsound.cpp | |||
@@ -106,7 +106,6 @@ void LLPreviewSound::auditionSound( void *userdata ) | |||
106 | if(item && gAudiop) | 106 | if(item && gAudiop) |
107 | { | 107 | { |
108 | LLVector3d lpos_global = gAgent.getPositionGlobal(); | 108 | LLVector3d lpos_global = gAgent.getPositionGlobal(); |
109 | F32 volume = gSavedSettings.getBOOL("MuteSounds") ? 0.f : SOUND_GAIN * gSavedSettings.getF32("AudioLevelSFX"); | 109 | gAudiop->triggerSound(item->getAssetUUID(), gAgent.getID(), SOUND_GAIN, LLAudioEngine::AUDIO_TYPE_UI, lpos_global); |
110 | gAudiop->triggerSound(item->getAssetUUID(), gAgent.getID(), volume, lpos_global); | ||
111 | } | 110 | } |
112 | } | 111 | } |