aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alState.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-15 23:46:35 -0700
committerChris Robinson <[email protected]>2011-06-15 23:46:35 -0700
commit7f4dcefc808a8f579f2c70821e9c76d000d04976 (patch)
tree97c3d1442dc8baf162a9afce0948219f3597f46a /OpenAL32/alState.c
parentd702cb9b4920d6b1149d40e2804ef1b408746aca (diff)
Remove the databuffer functions and structs
It's been disabled for a while now, and not likely to be re-enabled.
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;