diff options
author | Chris Robinson <[email protected]> | 2008-07-24 00:41:25 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-07-24 00:41:25 -0700 |
commit | 559c786d0c7ffd1135202469f1841b8d9d97d18c (patch) | |
tree | 774442f8affdd6881d28b3d62ebaa78274cf34ec /OpenAL32/Include | |
parent | c3a74809615dbe8bdaa938b9e963e8bb65427a0e (diff) |
Specify padding per buffer, and make sure it's large enough for the filter step
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alBuffer.h | 1 | ||||
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h index 06ffdea0..5ae367ed 100644 --- a/OpenAL32/Include/alBuffer.h +++ b/OpenAL32/Include/alBuffer.h @@ -18,6 +18,7 @@ typedef struct ALbuffer_struct ALshort *data; ALsizei size; ALsizei frequency; + ALsizei padding; ALenum state; ALuint refcount; // Number of sources using this buffer (deletion can only occur when this is 0) struct ALbuffer_struct *next; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 66dcaaac..af261da6 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -123,6 +123,9 @@ extern char _alDebug[256]; #define SPEEDOFSOUNDMETRESPERSEC (343.3f) #define AIRABSORBGAINHF (0.994f) +#define LOWPASSFREQCUTOFF (5000) + + typedef struct { ALCboolean (*OpenPlayback)(ALCdevice*, const ALCchar*); void (*ClosePlayback)(ALCdevice*); |