diff options
Diffstat (limited to 'linden/indra/llaudio/audioengine_openal.h')
-rw-r--r-- | linden/indra/llaudio/audioengine_openal.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/llaudio/audioengine_openal.h b/linden/indra/llaudio/audioengine_openal.h index 1f6dee4..70de9d4 100644 --- a/linden/indra/llaudio/audioengine_openal.h +++ b/linden/indra/llaudio/audioengine_openal.h | |||
@@ -6,7 +6,7 @@ | |||
6 | * | 6 | * |
7 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 7 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
8 | * | 8 | * |
9 | * Copyright (c) 2002-2008, Linden Research, Inc. | 9 | * Copyright (c) 2002-2009, Linden Research, Inc. |
10 | * | 10 | * |
11 | * Second Life Viewer Source Code | 11 | * Second Life Viewer Source Code |
12 | * The source code in this file ("Source Code") is provided by Linden Lab | 12 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -39,6 +39,11 @@ | |||
39 | #include "listener_openal.h" | 39 | #include "listener_openal.h" |
40 | #include "windgen.h" | 40 | #include "windgen.h" |
41 | 41 | ||
42 | #if 1 | ||
43 | #define WIND_BUFFER_SIZE_SEC 0.05f | ||
44 | #endif | ||
45 | |||
46 | |||
42 | class LLAudioEngine_OpenAL : public LLAudioEngine | 47 | class LLAudioEngine_OpenAL : public LLAudioEngine |
43 | { | 48 | { |
44 | public: | 49 | public: |
@@ -72,6 +77,9 @@ class LLAudioEngine_OpenAL : public LLAudioEngine | |||
72 | int mNumEmptyWindALBuffers; | 77 | int mNumEmptyWindALBuffers; |
73 | 78 | ||
74 | static const int MAX_NUM_WIND_BUFFERS = 80; | 79 | static const int MAX_NUM_WIND_BUFFERS = 80; |
80 | #if 0 | ||
81 | static const float WIND_BUFFER_SIZE_SEC = 0.05f; // 1/20th sec | ||
82 | #endif | ||
75 | }; | 83 | }; |
76 | 84 | ||
77 | class LLAudioChannelOpenAL : public LLAudioChannel | 85 | class LLAudioChannelOpenAL : public LLAudioChannel |