summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 3889c85c..de746c61 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -22,6 +22,14 @@
extern "C" {
#endif
+typedef enum {
+ POINT = 0,
+ LINEAR,
+
+ RESAMPLER_MAX
+} resampler_t;
+extern resampler_t DefaultResampler;
+
typedef struct ALbufferlistitem
{
struct ALbuffer *buffer;
@@ -47,6 +55,8 @@ typedef struct ALsource
ALboolean bLooping;
ALenum DistanceModel;
+ resampler_t Resampler;
+
ALenum state;
ALuint position;
ALuint position_fraction;