aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alBuffer.h3
-rw-r--r--OpenAL32/Include/alSource.h11
2 files changed, 11 insertions, 3 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 9ba3217d..e11fe210 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -7,9 +7,6 @@
extern "C" {
#endif
-#define BUFFER_PADDING 2
-#define BUFFER_PREPADDING 1
-
typedef struct ALbuffer
{
ALvoid *data;
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index d60416b6..4af7f99d 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -22,6 +22,17 @@ typedef enum {
} resampler_t;
extern resampler_t DefaultResampler;
+static const ALsizei ResamplerPadding[RESAMPLER_MAX] = {
+ 0, /* Point */
+ 1, /* Linear */
+ 2, /* Cubic */
+};
+static const ALsizei ResamplerPrePadding[RESAMPLER_MAX] = {
+ 0, /* Point */
+ 0, /* Linear */
+ 1, /* Cubic */
+};
+
typedef struct ALbufferlistitem
{
struct ALbuffer *buffer;