aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r--OpenAL32/alState.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c
index 953b1a17..374b7794 100644
--- a/OpenAL32/alState.c
+++ b/OpenAL32/alState.c
@@ -27,7 +27,6 @@
#include "alError.h"
#include "alSource.h"
#include "alState.h"
-#include "alDatabuffer.h"
static const ALchar alVendor[] = "OpenAL Community";
static const ALchar alVersion[] = "1.1 ALSOFT "ALSOFT_VERSION;
@@ -269,20 +268,6 @@ AL_API ALint AL_APIENTRY alGetInteger(ALenum pname)
value = (ALint)Context->flSpeedOfSound;
break;
- case AL_SAMPLE_SOURCE_EXT:
- if(Context->SampleSource)
- value = (ALint)Context->SampleSource->databuffer;
- else
- value = 0;
- break;
-
- case AL_SAMPLE_SINK_EXT:
- if(Context->SampleSink)
- value = (ALint)Context->SampleSink->databuffer;
- else
- value = 0;
- break;
-
default:
alSetError(Context, AL_INVALID_ENUM);
break;
@@ -443,20 +428,6 @@ AL_API ALvoid AL_APIENTRY alGetIntegerv(ALenum pname,ALint *data)
*data = (ALint)Context->flSpeedOfSound;
break;
- case AL_SAMPLE_SOURCE_EXT:
- if(Context->SampleSource)
- *data = (ALint)Context->SampleSource->databuffer;
- else
- *data = 0;
- break;
-
- case AL_SAMPLE_SINK_EXT:
- if(Context->SampleSink)
- *data = (ALint)Context->SampleSink->databuffer;
- else
- *data = 0;
- break;
-
default:
alSetError(Context, AL_INVALID_ENUM);
break;