Class AL10
- Direct Known Subclasses:
AL11
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Buffer attributes,static final int
Source attributes.static final int
Queue state.static final int
Queue state.static final int
Buffer attributes,static final int
Source attributes.static final int
Source attributes.static final int
Source attributes.static final int
Source attributes.static final int
Numerical queries.static final int
Numerical queries.static final int
String queries.static final int
General tokens.static final int
Buffer formats.static final int
Buffer formats.static final int
Buffer formats.static final int
Buffer formats.static final int
Buffer attributes,static final int
Listener and Source attributes.static final int
Source state.static final int
General tokens.static final int
Error conditions.static final int
Error conditions.static final int
Error conditions.static final int
Error conditions.static final int
Distance attenuation models.static final int
Distance attenuation models.static final int
Source attributes.static final int
Distance model attributes,static final int
Gain bounds.static final int
Gain bounds.static final int
Error conditions.static final int
General tokens.static final int
Listener attributes.static final int
Error conditions.static final int
Source state.static final int
Buffer state.static final int
Source attributes.static final int
Source state.static final int
Listener and Source attributes.static final int
Buffer state.static final int
Distance model attributes,static final int
String queries.static final int
Distance model attributes,static final int
Buffer attributes,static final int
Source types.static final int
Source types.static final int
Source attributes.static final int
Source attributes.static final int
Source state.static final int
General tokens.static final int
Buffer state.static final int
Listener and Source attributes.static final int
String queries.static final int
String queries. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
alBufferData
(int bufferName, int format, float[] data, int frequency) Array version of:BufferData
static void
alBufferData
(int bufferName, int format, int[] data, int frequency) Array version of:BufferData
static void
alBufferData
(int bufferName, int format, short[] data, int frequency) Array version of:BufferData
static void
alBufferData
(int bufferName, int format, ByteBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferData
(int bufferName, int format, FloatBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferData
(int bufferName, int format, IntBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferData
(int bufferName, int format, ShortBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferDataDirect
(long context, int bufferName, int format, float[] data, int frequency) Array version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
static void
alBufferDataDirect
(long context, int bufferName, int format, int[] data, int frequency) Array version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
static void
alBufferDataDirect
(long context, int bufferName, int format, short[] data, int frequency) Array version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
static void
alBufferDataDirect
(long context, int bufferName, int format, ByteBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferDataDirect
(long context, int bufferName, int format, FloatBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferDataDirect
(long context, int bufferName, int format, IntBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alBufferDataDirect
(long context, int bufferName, int format, ShortBuffer data, int frequency) Sets the sample data of the specified buffer.static void
alDeleteBuffers
(int bufferName) Requests the deletion of a number of buffers.static void
alDeleteBuffers
(int[] bufferNames) Array version of:DeleteBuffers
static void
alDeleteBuffers
(IntBuffer bufferNames) Requests the deletion of a number of buffers.static void
alDeleteBuffersDirect
(long context, int bufferName) Requests the deletion of a number of buffers.static void
alDeleteBuffersDirect
(long context, int[] bufferNames) Array version of:alDeleteBuffersDirect(long, java.nio.IntBuffer)
static void
alDeleteBuffersDirect
(long context, IntBuffer bufferNames) Requests the deletion of a number of buffers.static void
alDeleteSources
(int source) Requests the deletion of a number of sources.static void
alDeleteSources
(int[] sources) Array version of:DeleteSources
static void
alDeleteSources
(IntBuffer sources) Requests the deletion of a number of sources.static void
alDeleteSourcesDirect
(long context, int source) Requests the deletion of a number of sources.static void
alDeleteSourcesDirect
(long context, int[] sources) Array version of:alDeleteSourcesDirect(long, java.nio.IntBuffer)
static void
alDeleteSourcesDirect
(long context, IntBuffer sources) Requests the deletion of a number of sources.static void
alDisable
(int target) Disables AL capabilities.static void
alDisableDirect
(long context, int target) Disables AL capabilities.static void
alDistanceModel
(int modelName) Sets the distance attenuation model.static void
alDistanceModelDirect
(long context, int modelName) Sets the distance attenuation model.static void
alDopplerFactor
(float dopplerFactor) Sets the doppler effect factor.static void
alDopplerFactorDirect
(long context, float dopplerFactor) Sets the doppler effect factor.static void
alDopplerVelocity
(float dopplerVelocity) Sets the doppler effect propagation velocity.static void
alEnable
(int target) Enables AL capabilities.static void
alEnableDirect
(long context, int target) Enables AL capabilities.static int
Requests a number of buffer names.static void
alGenBuffers
(int[] bufferNames) Array version of:GenBuffers
static void
alGenBuffers
(IntBuffer bufferNames) Requests a number of buffer names.static int
alGenBuffersDirect
(long context) Requests a number of buffer names.static void
alGenBuffersDirect
(long context, int[] bufferNames) Array version of:alGenBuffersDirect(long, java.nio.IntBuffer)
static void
alGenBuffersDirect
(long context, IntBuffer bufferNames) Requests a number of buffer names.static int
Requests a number of source names.static void
alGenSources
(int[] srcNames) Array version of:GenSources
static void
alGenSources
(IntBuffer srcNames) Requests a number of source names.static int
alGenSourcesDirect
(long context) Requests a number of source names.static void
alGenSourcesDirect
(long context, int[] srcNames) Array version of:alGenSourcesDirect(long, java.nio.IntBuffer)
static void
alGenSourcesDirect
(long context, IntBuffer srcNames) Requests a number of source names.static boolean
alGetBoolean
(int paramName) Returns the boolean value of the specified parameter.static boolean
alGetBooleanDirect
(long context, int paramName) Returns the boolean value of the specified parameter.static void
alGetBooleanv
(int paramName, ByteBuffer dest) Pointer version ofGetBoolean
.static void
alGetBooleanvDirect
(long context, int paramName, ByteBuffer dest) Pointer version ofGetBoolean
.static float
alGetBufferf
(int bufferName, int paramName) Returns the float value of the specified buffer parameter.static void
alGetBufferf
(int bufferName, int paramName, float[] value) Array version of:GetBufferf
static void
alGetBufferf
(int bufferName, int paramName, FloatBuffer value) Returns the float value of the specified buffer parameter.static float
alGetBufferfDirect
(long context, int bufferName, int paramName) Returns the float value of the specified buffer parameter.static void
alGetBufferfDirect
(long context, int bufferName, int paramName, float[] value) Array version of:alGetBufferfDirect(long, int, int, java.nio.FloatBuffer)
static void
alGetBufferfDirect
(long context, int bufferName, int paramName, FloatBuffer value) Returns the float value of the specified buffer parameter.static int
alGetBufferi
(int bufferName, int paramName) Returns the integer value of the specified buffer parameter.static void
alGetBufferi
(int bufferName, int paramName, int[] value) Array version of:GetBufferi
static void
alGetBufferi
(int bufferName, int paramName, IntBuffer value) Returns the integer value of the specified buffer parameter.static int
alGetBufferiDirect
(long context, int bufferName, int paramName) Returns the integer value of the specified buffer parameter.static void
alGetBufferiDirect
(long context, int bufferName, int paramName, int[] value) Array version of:alGetBufferiDirect(long, int, int, java.nio.IntBuffer)
static void
alGetBufferiDirect
(long context, int bufferName, int paramName, IntBuffer value) Returns the integer value of the specified buffer parameter.static double
alGetDouble
(int paramName) Returns the double value of the specified parameter.static double
alGetDoubleDirect
(long context, int paramName) Returns the double value of the specified parameter.static void
alGetDoublev
(int paramName, double[] dest) Array version of:GetDoublev
static void
alGetDoublev
(int paramName, DoubleBuffer dest) Pointer version ofGetDouble
.static void
alGetDoublevDirect
(long context, int paramName, double[] dest) Array version of:alGetDoublevDirect(long, int, java.nio.DoubleBuffer)
static void
alGetDoublevDirect
(long context, int paramName, DoubleBuffer dest) Pointer version ofGetDouble
.static int
alGetEnumValue
(CharSequence enumName) Returns the enumeration value of the specified enum.static int
alGetEnumValue
(ByteBuffer enumName) Returns the enumeration value of the specified enum.static int
alGetEnumValueDirect
(long context, CharSequence enumName) Returns the enumeration value of the specified enum.static int
alGetEnumValueDirect
(long context, ByteBuffer enumName) Returns the enumeration value of the specified enum.static int
Obtains error information.static int
alGetErrorDirect
(long context) Obtains error information.static float
alGetFloat
(int paramName) Returns the float value of the specified parameter.static float
alGetFloatDirect
(long context, int paramName) Returns the float value of the specified parameter.static void
alGetFloatv
(int paramName, float[] dest) Array version of:GetFloatv
static void
alGetFloatv
(int paramName, FloatBuffer dest) Pointer version ofGetFloat
.static void
alGetFloatvDirect
(long context, int paramName, float[] dest) Array version of:alGetFloatvDirect(long, int, java.nio.FloatBuffer)
static void
alGetFloatvDirect
(long context, int paramName, FloatBuffer dest) Pointer version ofGetFloat
.static int
alGetInteger
(int paramName) Returns the integer value of the specified parameter.static int
alGetIntegerDirect
(long context, int paramName) Returns the integer value of the specified parameter.static void
alGetIntegerv
(int paramName, int[] dest) Array version of:GetIntegerv
static void
alGetIntegerv
(int paramName, IntBuffer dest) Pointer version ofGetInteger
.static void
alGetIntegervDirect
(long context, int paramName, int[] dest) Array version of:alGetIntegervDirect(long, int, java.nio.IntBuffer)
static void
alGetIntegervDirect
(long context, int paramName, IntBuffer dest) Pointer version ofGetInteger
.static void
alGetListener3f
(int paramName, float[] value1, float[] value2, float[] value3) Array version of:GetListener3f
static void
alGetListener3f
(int paramName, FloatBuffer value1, FloatBuffer value2, FloatBuffer value3) Returns the 3 dimensional values of a listener parameter.static void
alGetListener3fDirect
(long context, int paramName, float[] value1, float[] value2, float[] value3) static void
alGetListener3fDirect
(long context, int paramName, FloatBuffer value1, FloatBuffer value2, FloatBuffer value3) Returns the 3 dimensional values of a listener parameter.static float
alGetListenerf
(int paramName) Returns the float value of a listener parameter.static void
alGetListenerf
(int paramName, float[] value) Array version of:GetListenerf
static void
alGetListenerf
(int paramName, FloatBuffer value) Returns the float value of a listener parameter.static float
alGetListenerfDirect
(long context, int paramName) Returns the float value of a listener parameter.static void
alGetListenerfDirect
(long context, int paramName, float[] value) Array version of:alGetListenerfDirect(long, int, java.nio.FloatBuffer)
static void
alGetListenerfDirect
(long context, int paramName, FloatBuffer value) Returns the float value of a listener parameter.static void
alGetListenerfv
(int paramName, float[] values) Array version of:GetListenerfv
static void
alGetListenerfv
(int paramName, FloatBuffer values) Returns float values of a listener parameter.static void
alGetListenerfvDirect
(long context, int paramName, float[] values) Array version of:alGetListenerfvDirect(long, int, java.nio.FloatBuffer)
static void
alGetListenerfvDirect
(long context, int paramName, FloatBuffer values) Returns float values of a listener parameter.static int
alGetListeneri
(int paramName) Returns the integer value of a listener parameter.static void
alGetListeneri
(int paramName, int[] value) Array version of:GetListeneri
static void
alGetListeneri
(int paramName, IntBuffer value) Returns the integer value of a listener parameter.static int
alGetListeneriDirect
(long context, int paramName) Returns the integer value of a listener parameter.static void
alGetListeneriDirect
(long context, int paramName, int[] value) Array version of:alGetListeneriDirect(long, int, java.nio.IntBuffer)
static void
alGetListeneriDirect
(long context, int paramName, IntBuffer value) Returns the integer value of a listener parameter.static long
alGetProcAddress
(CharSequence funcName) Retrieves extension entry points.static long
alGetProcAddress
(ByteBuffer funcName) Retrieves extension entry points.static long
alGetProcAddressDirect
(long context, CharSequence funcName) Retrieves extension entry points.static long
alGetProcAddressDirect
(long context, ByteBuffer funcName) Retrieves extension entry points.static void
alGetSource3f
(int source, int param, float[] v1, float[] v2, float[] v3) Array version of:GetSource3f
static void
alGetSource3f
(int source, int param, FloatBuffer v1, FloatBuffer v2, FloatBuffer v3) Returns the 3 dimensional values of the specified source parameter.static void
alGetSource3fDirect
(long context, int source, int param, float[] v1, float[] v2, float[] v3) static void
alGetSource3fDirect
(long context, int source, int param, FloatBuffer v1, FloatBuffer v2, FloatBuffer v3) Returns the 3 dimensional values of the specified source parameter.static float
alGetSourcef
(int source, int param) Returns the float value of the specified source parameter.static void
alGetSourcef
(int source, int param, float[] value) Array version of:GetSourcef
static void
alGetSourcef
(int source, int param, FloatBuffer value) Returns the float value of the specified source parameter.static float
alGetSourcefDirect
(long context, int source, int param) Returns the float value of the specified source parameter.static void
alGetSourcefDirect
(long context, int source, int param, float[] value) Array version of:alGetSourcefDirect(long, int, int, java.nio.FloatBuffer)
static void
alGetSourcefDirect
(long context, int source, int param, FloatBuffer value) Returns the float value of the specified source parameter.static void
alGetSourcefv
(int source, int param, float[] values) Array version of:GetSourcefv
static void
alGetSourcefv
(int source, int param, FloatBuffer values) Returns the float values of the specified source parameter.static void
alGetSourcefvDirect
(long context, int source, int param, float[] values) Array version of:alGetSourcefvDirect(long, int, int, java.nio.FloatBuffer)
static void
alGetSourcefvDirect
(long context, int source, int param, FloatBuffer values) Returns the float values of the specified source parameter.static int
alGetSourcei
(int source, int param) Returns the integer value of the specified source parameter.static void
alGetSourcei
(int source, int param, int[] value) Array version of:GetSourcei
static void
alGetSourcei
(int source, int param, IntBuffer value) Returns the integer value of the specified source parameter.static int
alGetSourceiDirect
(long context, int source, int param) Returns the integer value of the specified source parameter.static void
alGetSourceiDirect
(long context, int source, int param, int[] value) Array version of:alGetSourceiDirect(long, int, int, java.nio.IntBuffer)
static void
alGetSourceiDirect
(long context, int source, int param, IntBuffer value) Returns the integer value of the specified source parameter.static void
alGetSourceiv
(int source, int param, int[] values) Array version of:GetSourceiv
static void
alGetSourceiv
(int source, int param, IntBuffer values) Returns the integer values of the specified source parameter.static void
alGetSourceivDirect
(long context, int source, int param, int[] values) Array version of:alGetSourceivDirect(long, int, int, java.nio.IntBuffer)
static void
alGetSourceivDirect
(long context, int source, int param, IntBuffer values) Returns the integer values of the specified source parameter.static @Nullable String
alGetString
(int paramName) Returns the string value of the specified parameterstatic @Nullable String
alGetStringDirect
(long context, int paramName) Returns the string value of the specified parameterstatic boolean
alIsBuffer
(int bufferName) Verifies whether the specified object name is a buffer name.static boolean
alIsBufferDirect
(long context, int bufferName) Verifies whether the specified object name is a buffer name.static boolean
alIsEnabled
(int target) Queries whether a given capability is currently enabled or not.static boolean
alIsEnabledDirect
(long context, int target) Queries whether a given capability is currently enabled or not.static boolean
alIsExtensionPresent
(CharSequence extName) Verifies that a given extension is available for the current context and the device it is associated with.static boolean
alIsExtensionPresent
(ByteBuffer extName) Verifies that a given extension is available for the current context and the device it is associated with.static boolean
alIsExtensionPresentDirect
(long context, CharSequence extName) Verifies that a given extension is available for the current context and the device it is associated with.static boolean
alIsExtensionPresentDirect
(long context, ByteBuffer extName) Verifies that a given extension is available for the current context and the device it is associated with.static boolean
alIsSource
(int sourceName) Verifies whether the specified object name is a source name.static boolean
alIsSourceDirect
(long context, int sourceName) Verifies whether the specified object name is a source name.static void
alListener3f
(int paramName, float value1, float value2, float value3) Sets the 3 dimensional float values of a listener parameter.static void
alListener3fDirect
(long context, int paramName, float value1, float value2, float value3) Sets the 3 dimensional float values of a listener parameter.static void
alListenerf
(int paramName, float value) Sets the float value of a listener parameter.static void
alListenerfDirect
(long context, int paramName, float value) Sets the float value of a listener parameter.static void
alListenerfv
(int paramName, float[] values) Array version of:Listenerfv
static void
alListenerfv
(int paramName, FloatBuffer values) Pointer version ofListenerf
.static void
alListenerfvDirect
(long context, int paramName, float[] values) Array version of:alListenerfvDirect(long, int, java.nio.FloatBuffer)
static void
alListenerfvDirect
(long context, int paramName, FloatBuffer values) Pointer version ofListenerf
.static void
alListeneri
(int paramName, int values) Integer version ofListenerf
.static void
alListeneriDirect
(long context, int paramName, int values) Integer version ofListenerf
.static void
alSource3f
(int source, int param, float v1, float v2, float v3) Sets the 3 dimensional values of a source parameter.static void
alSource3fDirect
(long context, int source, int param, float v1, float v2, float v3) Sets the 3 dimensional values of a source parameter.static void
alSourcef
(int source, int param, float value) Sets the float value of a source parameter.static void
alSourcefDirect
(long context, int source, int param, float value) Sets the float value of a source parameter.static void
alSourcefv
(int source, int param, float[] values) Array version of:Sourcefv
static void
alSourcefv
(int source, int param, FloatBuffer values) Pointer version ofSourcef
.static void
alSourcefvDirect
(long context, int source, int param, float[] values) Array version of:alSourcefvDirect(long, int, int, java.nio.FloatBuffer)
static void
alSourcefvDirect
(long context, int source, int param, FloatBuffer values) Pointer version ofSourcef
.static void
alSourcei
(int source, int param, int value) Integer version ofSourcef
.static void
alSourceiDirect
(long context, int source, int param, int value) Integer version ofSourcef
.static void
alSourcePause
(int source) Sets the source state to AL_PAUSED.static void
alSourcePauseDirect
(long context, int source) Sets the source state to AL_PAUSED.static void
alSourcePausev
(int[] sources) Array version of:SourcePausev
static void
alSourcePausev
(IntBuffer sources) Pointer version ofSourcePause
.static void
alSourcePausevDirect
(long context, int[] sources) Array version of:alSourcePausevDirect(long, java.nio.IntBuffer)
static void
alSourcePausevDirect
(long context, IntBuffer sources) Pointer version ofSourcePause
.static void
alSourcePlay
(int source) Sets the source state to AL_PLAYING.static void
alSourcePlayDirect
(long context, int source) Sets the source state to AL_PLAYING.static void
alSourcePlayv
(int[] sources) Array version of:SourcePlayv
static void
alSourcePlayv
(IntBuffer sources) Pointer version ofSourcePlay
.static void
alSourcePlayvDirect
(long context, int[] sources) Array version of:alSourcePlayvDirect(long, java.nio.IntBuffer)
static void
alSourcePlayvDirect
(long context, IntBuffer sources) Pointer version ofSourcePlay
.static void
alSourceQueueBuffers
(int sourceName, int bufferName) Queues up one or multiple buffer names to the specified source.static void
alSourceQueueBuffers
(int sourceName, int[] bufferNames) Array version of:SourceQueueBuffers
static void
alSourceQueueBuffers
(int sourceName, IntBuffer bufferNames) Queues up one or multiple buffer names to the specified source.static void
alSourceQueueBuffersDirect
(long context, int sourceName, int bufferName) Queues up one or multiple buffer names to the specified source.static void
alSourceQueueBuffersDirect
(long context, int sourceName, int[] bufferNames) Array version of:alSourceQueueBuffersDirect(long, int, java.nio.IntBuffer)
static void
alSourceQueueBuffersDirect
(long context, int sourceName, IntBuffer bufferNames) Queues up one or multiple buffer names to the specified source.static void
alSourceRewind
(int source) Sets the source state to AL_INITIAL.static void
alSourceRewindDirect
(long context, int source) Sets the source state to AL_INITIAL.static void
alSourceRewindv
(int[] sources) Array version of:SourceRewindv
static void
alSourceRewindv
(IntBuffer sources) Pointer version ofSourceRewind
.static void
alSourceRewindvDirect
(long context, int[] sources) Array version of:alSourceRewindvDirect(long, java.nio.IntBuffer)
static void
alSourceRewindvDirect
(long context, IntBuffer sources) Pointer version ofSourceRewind
.static void
alSourceStop
(int source) Sets the source state to AL_STOPPED.static void
alSourceStopDirect
(long context, int source) Sets the source state to AL_STOPPED.static void
alSourceStopv
(int[] sources) Array version of:SourceStopv
static void
alSourceStopv
(IntBuffer sources) Pointer version ofSourceStop
.static void
alSourceStopvDirect
(long context, int[] sources) Array version of:alSourceStopvDirect(long, java.nio.IntBuffer)
static void
alSourceStopvDirect
(long context, IntBuffer sources) Pointer version ofSourceStop
.static int
alSourceUnqueueBuffers
(int sourceName) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.static void
alSourceUnqueueBuffers
(int sourceName, int[] bufferNames) Array version of:SourceUnqueueBuffers
static void
alSourceUnqueueBuffers
(int sourceName, IntBuffer bufferNames) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.static int
alSourceUnqueueBuffersDirect
(long context, int sourceName) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.static void
alSourceUnqueueBuffersDirect
(long context, int sourceName, int[] bufferNames) Array version of:alSourceUnqueueBuffersDirect(long, int, java.nio.IntBuffer)
static void
alSourceUnqueueBuffersDirect
(long context, int sourceName, IntBuffer bufferNames) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.static void
nalBufferData
(int bufferName, int format, long data, int size, int frequency) Unsafe version of:BufferData
static void
nalBufferDataDirect
(long context, int bufferName, int format, long data, int size, int frequency) Unsafe version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
static void
nalDeleteBuffers
(int n, long bufferNames) Unsafe version of:DeleteBuffers
static void
nalDeleteBuffersDirect
(long context, int n, long bufferNames) Unsafe version of:alDeleteBuffersDirect(long, java.nio.IntBuffer)
static void
nalDeleteSources
(int n, long sources) Unsafe version of:DeleteSources
static void
nalDeleteSourcesDirect
(long context, int n, long sources) Unsafe version of:alDeleteSourcesDirect(long, java.nio.IntBuffer)
static void
nalGenBuffers
(int n, long bufferNames) Unsafe version of:GenBuffers
static void
nalGenBuffersDirect
(long context, int n, long bufferNames) Unsafe version of:alGenBuffersDirect(long, java.nio.IntBuffer)
static void
nalGenSources
(int n, long srcNames) Unsafe version of:GenSources
static void
nalGenSourcesDirect
(long context, int n, long srcNames) Unsafe version of:alGenSourcesDirect(long, java.nio.IntBuffer)
static void
nalGetBooleanv
(int paramName, long dest) Unsafe version of:GetBooleanv
static void
nalGetBooleanvDirect
(long context, int paramName, long dest) Unsafe version of:alGetBooleanvDirect(long, int, java.nio.ByteBuffer)
static void
nalGetBufferf
(int bufferName, int paramName, long value) Unsafe version of:GetBufferf
static void
nalGetBufferfDirect
(long context, int bufferName, int paramName, long value) Unsafe version of:alGetBufferfDirect(long, int, int, java.nio.FloatBuffer)
static void
nalGetBufferi
(int bufferName, int paramName, long value) Unsafe version of:GetBufferi
static void
nalGetBufferiDirect
(long context, int bufferName, int paramName, long value) Unsafe version of:alGetBufferiDirect(long, int, int, java.nio.IntBuffer)
static void
nalGetDoublev
(int paramName, long dest) Unsafe version of:GetDoublev
static void
nalGetDoublevDirect
(long context, int paramName, long dest) Unsafe version of:alGetDoublevDirect(long, int, java.nio.DoubleBuffer)
static int
nalGetEnumValue
(long enumName) Unsafe version of:GetEnumValue
static int
nalGetEnumValueDirect
(long context, long enumName) Unsafe version of:alGetEnumValueDirect(long, java.nio.ByteBuffer)
static void
nalGetFloatv
(int paramName, long dest) Unsafe version of:GetFloatv
static void
nalGetFloatvDirect
(long context, int paramName, long dest) Unsafe version of:alGetFloatvDirect(long, int, java.nio.FloatBuffer)
static void
nalGetIntegerv
(int paramName, long dest) Unsafe version of:GetIntegerv
static void
nalGetIntegervDirect
(long context, int paramName, long dest) Unsafe version of:alGetIntegervDirect(long, int, java.nio.IntBuffer)
static void
nalGetListener3f
(int paramName, long value1, long value2, long value3) Unsafe version of:GetListener3f
static void
nalGetListener3fDirect
(long context, int paramName, long value1, long value2, long value3) static void
nalGetListenerf
(int paramName, long value) Unsafe version of:GetListenerf
static void
nalGetListenerfDirect
(long context, int paramName, long value) Unsafe version of:alGetListenerfDirect(long, int, java.nio.FloatBuffer)
static void
nalGetListenerfv
(int paramName, long values) Unsafe version of:GetListenerfv
static void
nalGetListenerfvDirect
(long context, int paramName, long values) Unsafe version of:alGetListenerfvDirect(long, int, java.nio.FloatBuffer)
static void
nalGetListeneri
(int paramName, long value) Unsafe version of:GetListeneri
static void
nalGetListeneriDirect
(long context, int paramName, long value) Unsafe version of:alGetListeneriDirect(long, int, java.nio.IntBuffer)
static long
nalGetProcAddress
(long funcName) Unsafe version of:GetProcAddress
static long
nalGetProcAddressDirect
(long context, long funcName) Unsafe version of:alGetProcAddressDirect(long, java.nio.ByteBuffer)
static void
nalGetSource3f
(int source, int param, long v1, long v2, long v3) Unsafe version of:GetSource3f
static void
nalGetSource3fDirect
(long context, int source, int param, long v1, long v2, long v3) static void
nalGetSourcef
(int source, int param, long value) Unsafe version of:GetSourcef
static void
nalGetSourcefDirect
(long context, int source, int param, long value) Unsafe version of:alGetSourcefDirect(long, int, int, java.nio.FloatBuffer)
static void
nalGetSourcefv
(int source, int param, long values) Unsafe version of:GetSourcefv
static void
nalGetSourcefvDirect
(long context, int source, int param, long values) Unsafe version of:alGetSourcefvDirect(long, int, int, java.nio.FloatBuffer)
static void
nalGetSourcei
(int source, int param, long value) Unsafe version of:GetSourcei
static void
nalGetSourceiDirect
(long context, int source, int param, long value) Unsafe version of:alGetSourceiDirect(long, int, int, java.nio.IntBuffer)
static void
nalGetSourceiv
(int source, int param, long values) Unsafe version of:GetSourceiv
static void
nalGetSourceivDirect
(long context, int source, int param, long values) Unsafe version of:alGetSourceivDirect(long, int, int, java.nio.IntBuffer)
static long
nalGetString
(int paramName) Unsafe version of:GetString
static long
nalGetStringDirect
(long context, int paramName) Unsafe version of:alGetStringDirect(long, int)
static boolean
nalIsExtensionPresent
(long extName) Unsafe version of:IsExtensionPresent
static boolean
nalIsExtensionPresentDirect
(long context, long extName) Unsafe version of:alIsExtensionPresentDirect(long, java.nio.ByteBuffer)
static void
nalListenerfv
(int paramName, long values) Unsafe version of:Listenerfv
static void
nalListenerfvDirect
(long context, int paramName, long values) Unsafe version of:alListenerfvDirect(long, int, java.nio.FloatBuffer)
static void
nalSourcefv
(int source, int param, long values) Unsafe version of:Sourcefv
static void
nalSourcefvDirect
(long context, int source, int param, long values) Unsafe version of:alSourcefvDirect(long, int, int, java.nio.FloatBuffer)
static void
nalSourcePausev
(int n, long sources) Unsafe version of:SourcePausev
static void
nalSourcePausevDirect
(long context, int n, long sources) Unsafe version of:alSourcePausevDirect(long, java.nio.IntBuffer)
static void
nalSourcePlayv
(int n, long sources) Unsafe version of:SourcePlayv
static void
nalSourcePlayvDirect
(long context, int n, long sources) Unsafe version of:alSourcePlayvDirect(long, java.nio.IntBuffer)
static void
nalSourceQueueBuffers
(int sourceName, int numBuffers, long bufferNames) Unsafe version of:SourceQueueBuffers
static void
nalSourceQueueBuffersDirect
(long context, int sourceName, int numBuffers, long bufferNames) Unsafe version of:alSourceQueueBuffersDirect(long, int, java.nio.IntBuffer)
static void
nalSourceRewindv
(int n, long sources) Unsafe version of:SourceRewindv
static void
nalSourceRewindvDirect
(long context, int n, long sources) Unsafe version of:alSourceRewindvDirect(long, java.nio.IntBuffer)
static void
nalSourceStopv
(int n, long sources) Unsafe version of:SourceStopv
static void
nalSourceStopvDirect
(long context, int n, long sources) Unsafe version of:alSourceStopvDirect(long, java.nio.IntBuffer)
static void
nalSourceUnqueueBuffers
(int sourceName, int numEntries, long bufferNames) Unsafe version of:SourceUnqueueBuffers
static void
nalSourceUnqueueBuffersDirect
(long context, int sourceName, int numEntries, long bufferNames) Unsafe version of:alSourceUnqueueBuffersDirect(long, int, java.nio.IntBuffer)
-
Field Details
-
AL_INVALID
public static final int AL_INVALIDGeneral tokens.- See Also:
-
AL_NONE
public static final int AL_NONEGeneral tokens.- See Also:
-
AL_FALSE
public static final int AL_FALSEGeneral tokens.- See Also:
-
AL_TRUE
public static final int AL_TRUEGeneral tokens.- See Also:
-
AL_NO_ERROR
public static final int AL_NO_ERRORError conditions.- See Also:
-
AL_INVALID_NAME
public static final int AL_INVALID_NAMEError conditions.- See Also:
-
AL_INVALID_ENUM
public static final int AL_INVALID_ENUMError conditions.- See Also:
-
AL_INVALID_VALUE
public static final int AL_INVALID_VALUEError conditions.- See Also:
-
AL_INVALID_OPERATION
public static final int AL_INVALID_OPERATIONError conditions.- See Also:
-
AL_OUT_OF_MEMORY
public static final int AL_OUT_OF_MEMORYError conditions.- See Also:
-
AL_DOPPLER_FACTOR
public static final int AL_DOPPLER_FACTORNumerical queries.- See Also:
-
AL_DISTANCE_MODEL
public static final int AL_DISTANCE_MODELNumerical queries.- See Also:
-
AL_VENDOR
public static final int AL_VENDORString queries.- See Also:
-
AL_VERSION
public static final int AL_VERSIONString queries.- See Also:
-
AL_RENDERER
public static final int AL_RENDERERString queries.- See Also:
-
AL_EXTENSIONS
public static final int AL_EXTENSIONSString queries.- See Also:
-
AL_INVERSE_DISTANCE
public static final int AL_INVERSE_DISTANCEDistance attenuation models.- See Also:
-
AL_INVERSE_DISTANCE_CLAMPED
public static final int AL_INVERSE_DISTANCE_CLAMPEDDistance attenuation models.- See Also:
-
AL_SOURCE_ABSOLUTE
public static final int AL_SOURCE_ABSOLUTESource types.- See Also:
-
AL_SOURCE_RELATIVE
public static final int AL_SOURCE_RELATIVESource types.- See Also:
-
AL_POSITION
public static final int AL_POSITIONListener and Source attributes.- See Also:
-
AL_VELOCITY
public static final int AL_VELOCITYListener and Source attributes.- See Also:
-
AL_GAIN
public static final int AL_GAINListener and Source attributes.- See Also:
-
AL_CONE_INNER_ANGLE
public static final int AL_CONE_INNER_ANGLESource attributes.- See Also:
-
AL_CONE_OUTER_ANGLE
public static final int AL_CONE_OUTER_ANGLESource attributes.- See Also:
-
AL_PITCH
public static final int AL_PITCHSource attributes.- See Also:
-
AL_DIRECTION
public static final int AL_DIRECTIONSource attributes.- See Also:
-
AL_LOOPING
public static final int AL_LOOPINGSource attributes.- See Also:
-
AL_BUFFER
public static final int AL_BUFFERSource attributes.- See Also:
-
AL_SOURCE_STATE
public static final int AL_SOURCE_STATESource attributes.- See Also:
-
AL_CONE_OUTER_GAIN
public static final int AL_CONE_OUTER_GAINSource attributes.- See Also:
-
AL_SOURCE_TYPE
public static final int AL_SOURCE_TYPESource attributes.- See Also:
-
AL_INITIAL
public static final int AL_INITIALSource state.- See Also:
-
AL_PLAYING
public static final int AL_PLAYINGSource state.- See Also:
-
AL_PAUSED
public static final int AL_PAUSEDSource state.- See Also:
-
AL_STOPPED
public static final int AL_STOPPEDSource state.- See Also:
-
AL_ORIENTATION
public static final int AL_ORIENTATIONListener attributes.- See Also:
-
AL_BUFFERS_QUEUED
public static final int AL_BUFFERS_QUEUEDQueue state.- See Also:
-
AL_BUFFERS_PROCESSED
public static final int AL_BUFFERS_PROCESSEDQueue state.- See Also:
-
AL_MIN_GAIN
public static final int AL_MIN_GAINGain bounds.- See Also:
-
AL_MAX_GAIN
public static final int AL_MAX_GAINGain bounds.- See Also:
-
AL_REFERENCE_DISTANCE
public static final int AL_REFERENCE_DISTANCEDistance model attributes,- See Also:
-
AL_ROLLOFF_FACTOR
public static final int AL_ROLLOFF_FACTORDistance model attributes,- See Also:
-
AL_MAX_DISTANCE
public static final int AL_MAX_DISTANCEDistance model attributes,- See Also:
-
AL_FREQUENCY
public static final int AL_FREQUENCYBuffer attributes,- See Also:
-
AL_BITS
public static final int AL_BITSBuffer attributes,- See Also:
-
AL_CHANNELS
public static final int AL_CHANNELSBuffer attributes,- See Also:
-
AL_SIZE
public static final int AL_SIZEBuffer attributes,- See Also:
-
AL_FORMAT_MONO8
public static final int AL_FORMAT_MONO8Buffer formats.- See Also:
-
AL_FORMAT_MONO16
public static final int AL_FORMAT_MONO16Buffer formats.- See Also:
-
AL_FORMAT_STEREO8
public static final int AL_FORMAT_STEREO8Buffer formats.- See Also:
-
AL_FORMAT_STEREO16
public static final int AL_FORMAT_STEREO16Buffer formats.- See Also:
-
AL_UNUSED
public static final int AL_UNUSEDBuffer state.- See Also:
-
AL_PENDING
public static final int AL_PENDINGBuffer state.- See Also:
-
AL_PROCESSED
public static final int AL_PROCESSEDBuffer state.- See Also:
-
-
Method Details
-
alGetError
public static int alGetError()Obtains error information.Each detectable error is assigned a numeric code. When an error is detected by AL, a flag is set and the error code is recorded. Further errors, if they occur, do not affect this recorded code. When alGetError is called, the code is returned and the flag is cleared, so that a further error will again record its code. If a call to alGetError returns AL_NO_ERROR then there has been no detectable error since the last call to alGetError (or since the AL was initialized).
Error codes can be mapped to strings. The alGetString function returns a pointer to a constant (literal) string that is identical to the identifier used for the enumeration value, as defined in the specification.
-
alGetErrorDirect
public static int alGetErrorDirect(long context) Obtains error information.Each detectable error is assigned a numeric code. When an error is detected by AL, a flag is set and the error code is recorded. Further errors, if they occur, do not affect this recorded code. When alGetError is called, the code is returned and the flag is cleared, so that a further error will again record its code. If a call to alGetError returns AL_NO_ERROR then there has been no detectable error since the last call to alGetError (or since the AL was initialized).
Error codes can be mapped to strings. The alGetString function returns a pointer to a constant (literal) string that is identical to the identifier used for the enumeration value, as defined in the specification.
-
alEnable
public static void alEnable(int target) Enables AL capabilities.- Parameters:
target
- the capability to enable
-
alEnableDirect
public static void alEnableDirect(long context, int target) Enables AL capabilities.- Parameters:
target
- the capability to enable
-
alDisable
public static void alDisable(int target) Disables AL capabilities.- Parameters:
target
- the capability to disable
-
alDisableDirect
public static void alDisableDirect(long context, int target) Disables AL capabilities.- Parameters:
target
- the capability to disable
-
alIsEnabled
public static boolean alIsEnabled(int target) Queries whether a given capability is currently enabled or not.- Parameters:
target
- the capability to query
-
alIsEnabledDirect
public static boolean alIsEnabledDirect(long context, int target) Queries whether a given capability is currently enabled or not.- Parameters:
target
- the capability to query
-
alGetBoolean
public static boolean alGetBoolean(int paramName) Returns the boolean value of the specified parameter.- Parameters:
paramName
- the parameter to query
-
alGetBooleanDirect
public static boolean alGetBooleanDirect(long context, int paramName) Returns the boolean value of the specified parameter.- Parameters:
paramName
- the parameter to query
-
alGetInteger
public static int alGetInteger(int paramName) Returns the integer value of the specified parameter.- Parameters:
paramName
- the parameter to query. One of:DOPPLER_FACTOR
DISTANCE_MODEL
SPEED_OF_SOUND
-
alGetIntegerDirect
public static int alGetIntegerDirect(long context, int paramName) Returns the integer value of the specified parameter.- Parameters:
paramName
- the parameter to query. One of:DOPPLER_FACTOR
DISTANCE_MODEL
SPEED_OF_SOUND
-
alGetFloat
public static float alGetFloat(int paramName) Returns the float value of the specified parameter.- Parameters:
paramName
- the parameter to query. One of:DOPPLER_FACTOR
DISTANCE_MODEL
SPEED_OF_SOUND
-
alGetFloatDirect
public static float alGetFloatDirect(long context, int paramName) Returns the float value of the specified parameter.- Parameters:
paramName
- the parameter to query. One of:DOPPLER_FACTOR
DISTANCE_MODEL
SPEED_OF_SOUND
-
alGetDouble
public static double alGetDouble(int paramName) Returns the double value of the specified parameter.- Parameters:
paramName
- the parameter to query. One of:DOPPLER_FACTOR
DISTANCE_MODEL
SPEED_OF_SOUND
-
alGetDoubleDirect
public static double alGetDoubleDirect(long context, int paramName) Returns the double value of the specified parameter.- Parameters:
paramName
- the parameter to query. One of:DOPPLER_FACTOR
DISTANCE_MODEL
SPEED_OF_SOUND
-
nalGetBooleanv
public static void nalGetBooleanv(int paramName, long dest) Unsafe version of:GetBooleanv
-
alGetBooleanv
Pointer version ofGetBoolean
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetBooleanvDirect
public static void nalGetBooleanvDirect(long context, int paramName, long dest) Unsafe version of:alGetBooleanvDirect(long, int, java.nio.ByteBuffer)
-
alGetBooleanvDirect
Pointer version ofGetBoolean
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetIntegerv
public static void nalGetIntegerv(int paramName, long dest) Unsafe version of:GetIntegerv
-
alGetIntegerv
Pointer version ofGetInteger
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetIntegervDirect
public static void nalGetIntegervDirect(long context, int paramName, long dest) Unsafe version of:alGetIntegervDirect(long, int, java.nio.IntBuffer)
-
alGetIntegervDirect
Pointer version ofGetInteger
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetFloatv
public static void nalGetFloatv(int paramName, long dest) Unsafe version of:GetFloatv
-
alGetFloatv
Pointer version ofGetFloat
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetFloatvDirect
public static void nalGetFloatvDirect(long context, int paramName, long dest) Unsafe version of:alGetFloatvDirect(long, int, java.nio.FloatBuffer)
-
alGetFloatvDirect
Pointer version ofGetFloat
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetDoublev
public static void nalGetDoublev(int paramName, long dest) Unsafe version of:GetDoublev
-
alGetDoublev
Pointer version ofGetDouble
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetDoublevDirect
public static void nalGetDoublevDirect(long context, int paramName, long dest) Unsafe version of:alGetDoublevDirect(long, int, java.nio.DoubleBuffer)
-
alGetDoublevDirect
Pointer version ofGetDouble
.- Parameters:
paramName
- the parameter to querydest
- a buffer that will receive the parameter values
-
nalGetString
public static long nalGetString(int paramName) Unsafe version of:GetString
-
alGetString
Returns the string value of the specified parameter- Parameters:
paramName
- the parameter to query. One of:VENDOR
VERSION
RENDERER
EXTENSIONS
-
nalGetStringDirect
public static long nalGetStringDirect(long context, int paramName) Unsafe version of:alGetStringDirect(long, int)
-
alGetStringDirect
Returns the string value of the specified parameter- Parameters:
paramName
- the parameter to query. One of:VENDOR
VERSION
RENDERER
EXTENSIONS
-
alDistanceModel
public static void alDistanceModel(int modelName) Sets the distance attenuation model.Samples usually use the entire dynamic range of the chosen format/encoding, independent of their real world intensity. For example, a jet engine and a clockwork both will have samples with full amplitude. The application will then have to adjust source gain accordingly to account for relative differences.
Source gain is then attenuated by distance. The effective attenuation of a source depends on many factors, among which distance attenuation and source and listener gain are only some of the contributing factors. Even if the source and listener gain exceed 1.0 (amplification beyond the guaranteed dynamic range), distance and other attenuation might ultimately limit the overall gain to a value below 1.0.
OpenAL currently supports three modes of operation with respect to distance attenuation, including one that is similar to the IASIG I3DL2 model. The application can choose one of these models (or chooses to disable distance-dependent attenuation) on a per-context basis.
- Parameters:
modelName
- the distance attenuation model to set. One of:INVERSE_DISTANCE
INVERSE_DISTANCE_CLAMPED
LINEAR_DISTANCE
LINEAR_DISTANCE_CLAMPED
EXPONENT_DISTANCE
EXPONENT_DISTANCE_CLAMPED
NONE
-
alDistanceModelDirect
public static void alDistanceModelDirect(long context, int modelName) Sets the distance attenuation model.Samples usually use the entire dynamic range of the chosen format/encoding, independent of their real world intensity. For example, a jet engine and a clockwork both will have samples with full amplitude. The application will then have to adjust source gain accordingly to account for relative differences.
Source gain is then attenuated by distance. The effective attenuation of a source depends on many factors, among which distance attenuation and source and listener gain are only some of the contributing factors. Even if the source and listener gain exceed 1.0 (amplification beyond the guaranteed dynamic range), distance and other attenuation might ultimately limit the overall gain to a value below 1.0.
OpenAL currently supports three modes of operation with respect to distance attenuation, including one that is similar to the IASIG I3DL2 model. The application can choose one of these models (or chooses to disable distance-dependent attenuation) on a per-context basis.
- Parameters:
modelName
- the distance attenuation model to set. One of:INVERSE_DISTANCE
INVERSE_DISTANCE_CLAMPED
LINEAR_DISTANCE
LINEAR_DISTANCE_CLAMPED
EXPONENT_DISTANCE
EXPONENT_DISTANCE_CLAMPED
NONE
-
alDopplerFactor
public static void alDopplerFactor(float dopplerFactor) Sets the doppler effect factor.The Doppler Effect depends on the velocities of source and listener relative to the medium, and the propagation speed of sound in that medium. The application might want to emphasize or de-emphasize the Doppler Effect as physically accurate calculation might not give the desired results. The amount of frequency shift (pitch change) is proportional to the speed of listener and source along their line of sight. The Doppler Effect as implemented by OpenAL is described by the formula below. Effects of the medium (air, water) moving with respect to listener and source are ignored.
SS: AL_SPEED_OF_SOUND = speed of sound (default value 343.3) DF: AL_DOPPLER_FACTOR = Doppler factor (default 1.0) vls: Listener velocity scalar (scalar, projected on source-to-listener vector) vss: Source velocity scalar (scalar, projected on source-to-listener vector) f: Frequency of sample f': effective Doppler shifted frequency 3D Mathematical representation of vls and vss: Mag(vector) = sqrt(vector.x * vector.x + vector.y * vector.y + vector.z * vector.z) DotProduct(v1, v2) = (v1.x * v2.x + v1.y * v2.y + v1.z * v2.z) SL = source to listener vector SV = Source velocity vector LV = Listener velocity vector vls = DotProduct(SL, LV) / Mag(SL) vss = DotProduct(SL, SV) / Mag(SL) Dopper Calculation: vss = min(vss, SS / DF) vls = min(vls, SS / DF) f' = f * (SS - DF * vls) / (SS - DF * vss)
The
dopplerFactor
is a simple scaling of source and listener velocities to exaggerate or deemphasize the Doppler (pitch) shift resulting from the calculation.- Parameters:
dopplerFactor
- the doppler factor
-
alDopplerFactorDirect
public static void alDopplerFactorDirect(long context, float dopplerFactor) Sets the doppler effect factor.The Doppler Effect depends on the velocities of source and listener relative to the medium, and the propagation speed of sound in that medium. The application might want to emphasize or de-emphasize the Doppler Effect as physically accurate calculation might not give the desired results. The amount of frequency shift (pitch change) is proportional to the speed of listener and source along their line of sight. The Doppler Effect as implemented by OpenAL is described by the formula below. Effects of the medium (air, water) moving with respect to listener and source are ignored.
SS: AL_SPEED_OF_SOUND = speed of sound (default value 343.3) DF: AL_DOPPLER_FACTOR = Doppler factor (default 1.0) vls: Listener velocity scalar (scalar, projected on source-to-listener vector) vss: Source velocity scalar (scalar, projected on source-to-listener vector) f: Frequency of sample f': effective Doppler shifted frequency 3D Mathematical representation of vls and vss: Mag(vector) = sqrt(vector.x * vector.x + vector.y * vector.y + vector.z * vector.z) DotProduct(v1, v2) = (v1.x * v2.x + v1.y * v2.y + v1.z * v2.z) SL = source to listener vector SV = Source velocity vector LV = Listener velocity vector vls = DotProduct(SL, LV) / Mag(SL) vss = DotProduct(SL, SV) / Mag(SL) Dopper Calculation: vss = min(vss, SS / DF) vls = min(vls, SS / DF) f' = f * (SS - DF * vls) / (SS - DF * vss)
The
dopplerFactor
is a simple scaling of source and listener velocities to exaggerate or deemphasize the Doppler (pitch) shift resulting from the calculation.- Parameters:
dopplerFactor
- the doppler factor
-
alDopplerVelocity
public static void alDopplerVelocity(float dopplerVelocity) Sets the doppler effect propagation velocity.The OpenAL 1.1 Doppler implementation is different than that of OpenAL 1.0, because the older implementation was confusing and not implemented consistently. The new "speed of sound" property makes the 1.1 implementation more intuitive than the old implementation. If your implementation wants to support the AL_DOPPLER_VELOCITY parameter (the alDopplerVelocity call will remain as an entry point so that 1.0 applications can link with a 1.1 library), the above formula can be changed to the following:
vss = min(vss, (SS * DV)/DF) vls = min(vls, (SS * DV)/DF) f' = f * (SS * DV - DF*vls) / (SS * DV - DF * vss)
OpenAL 1.1 programmers would never use AL_DOPPLER_VELOCITY (which defaults to 1.0).
- Parameters:
dopplerVelocity
- the doppler velocity
-
alListenerf
public static void alListenerf(int paramName, float value) Sets the float value of a listener parameter.- Parameters:
paramName
- the parameter to modify. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value
- the parameter value
-
alListenerfDirect
public static void alListenerfDirect(long context, int paramName, float value) Sets the float value of a listener parameter.- Parameters:
paramName
- the parameter to modify. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value
- the parameter value
-
alListeneri
public static void alListeneri(int paramName, int values) Integer version ofListenerf
.- Parameters:
paramName
- the parameter to modify. One of:ORIENTATION
POSITION
VELOCITY
GAIN
values
- the parameter value
-
alListeneriDirect
public static void alListeneriDirect(long context, int paramName, int values) Integer version ofListenerf
.- Parameters:
paramName
- the parameter to modify. One of:ORIENTATION
POSITION
VELOCITY
GAIN
values
- the parameter value
-
alListener3f
public static void alListener3f(int paramName, float value1, float value2, float value3) Sets the 3 dimensional float values of a listener parameter.- Parameters:
paramName
- the parameter to modify. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value1
- the first valuevalue2
- the second valuevalue3
- the third value
-
alListener3fDirect
public static void alListener3fDirect(long context, int paramName, float value1, float value2, float value3) Sets the 3 dimensional float values of a listener parameter.- Parameters:
paramName
- the parameter to modify. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value1
- the first valuevalue2
- the second valuevalue3
- the third value
-
nalListenerfv
public static void nalListenerfv(int paramName, long values) Unsafe version of:Listenerfv
-
alListenerfv
Pointer version ofListenerf
.- Parameters:
paramName
- the parameter to modifyvalues
- the parameter values
-
nalListenerfvDirect
public static void nalListenerfvDirect(long context, int paramName, long values) Unsafe version of:alListenerfvDirect(long, int, java.nio.FloatBuffer)
-
alListenerfvDirect
Pointer version ofListenerf
.- Parameters:
paramName
- the parameter to modifyvalues
- the parameter values
-
nalGetListenerf
public static void nalGetListenerf(int paramName, long value) Unsafe version of:GetListenerf
-
alGetListenerf
Returns the float value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value
- the parameter value
-
alGetListenerf
public static float alGetListenerf(int paramName) Returns the float value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
-
nalGetListenerfDirect
public static void nalGetListenerfDirect(long context, int paramName, long value) Unsafe version of:alGetListenerfDirect(long, int, java.nio.FloatBuffer)
-
alGetListenerfDirect
Returns the float value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value
- the parameter value
-
alGetListenerfDirect
public static float alGetListenerfDirect(long context, int paramName) Returns the float value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
-
nalGetListeneri
public static void nalGetListeneri(int paramName, long value) Unsafe version of:GetListeneri
-
alGetListeneri
Returns the integer value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value
- the parameter value
-
alGetListeneri
public static int alGetListeneri(int paramName) Returns the integer value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
-
nalGetListeneriDirect
public static void nalGetListeneriDirect(long context, int paramName, long value) Unsafe version of:alGetListeneriDirect(long, int, java.nio.IntBuffer)
-
alGetListeneriDirect
Returns the integer value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value
- the parameter value
-
alGetListeneriDirect
public static int alGetListeneriDirect(long context, int paramName) Returns the integer value of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
-
nalGetListener3f
public static void nalGetListener3f(int paramName, long value1, long value2, long value3) Unsafe version of:GetListener3f
-
alGetListener3f
public static void alGetListener3f(int paramName, FloatBuffer value1, FloatBuffer value2, FloatBuffer value3) Returns the 3 dimensional values of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value1
- the first parameter valuevalue2
- the second parameter valuevalue3
- the third parameter value
-
nalGetListener3fDirect
public static void nalGetListener3fDirect(long context, int paramName, long value1, long value2, long value3) -
alGetListener3fDirect
public static void alGetListener3fDirect(long context, int paramName, FloatBuffer value1, FloatBuffer value2, FloatBuffer value3) Returns the 3 dimensional values of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
value1
- the first parameter valuevalue2
- the second parameter valuevalue3
- the third parameter value
-
nalGetListenerfv
public static void nalGetListenerfv(int paramName, long values) Unsafe version of:GetListenerfv
-
alGetListenerfv
Returns float values of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
values
- the parameter values
-
nalGetListenerfvDirect
public static void nalGetListenerfvDirect(long context, int paramName, long values) Unsafe version of:alGetListenerfvDirect(long, int, java.nio.FloatBuffer)
-
alGetListenerfvDirect
Returns float values of a listener parameter.- Parameters:
paramName
- the parameter to query. One of:ORIENTATION
POSITION
VELOCITY
GAIN
values
- the parameter values
-
nalGenSources
public static void nalGenSources(int n, long srcNames) Unsafe version of:GenSources
- Parameters:
n
- the number of source names to generated
-
alGenSources
Requests a number of source names.- Parameters:
srcNames
- the buffer that will receive the source names
-
alGenSources
public static int alGenSources()Requests a number of source names. -
nalGenSourcesDirect
public static void nalGenSourcesDirect(long context, int n, long srcNames) Unsafe version of:alGenSourcesDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of source names to generated
-
alGenSourcesDirect
Requests a number of source names.- Parameters:
srcNames
- the buffer that will receive the source names
-
alGenSourcesDirect
public static int alGenSourcesDirect(long context) Requests a number of source names. -
nalDeleteSources
public static void nalDeleteSources(int n, long sources) Unsafe version of:DeleteSources
- Parameters:
n
- the number of sources to delete
-
alDeleteSources
Requests the deletion of a number of sources.- Parameters:
sources
- the sources to delete
-
alDeleteSources
public static void alDeleteSources(int source) Requests the deletion of a number of sources. -
nalDeleteSourcesDirect
public static void nalDeleteSourcesDirect(long context, int n, long sources) Unsafe version of:alDeleteSourcesDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of sources to delete
-
alDeleteSourcesDirect
Requests the deletion of a number of sources.- Parameters:
sources
- the sources to delete
-
alDeleteSourcesDirect
public static void alDeleteSourcesDirect(long context, int source) Requests the deletion of a number of sources. -
alIsSource
public static boolean alIsSource(int sourceName) Verifies whether the specified object name is a source name.- Parameters:
sourceName
- a value that may be a source name
-
alIsSourceDirect
public static boolean alIsSourceDirect(long context, int sourceName) Verifies whether the specified object name is a source name.- Parameters:
sourceName
- a value that may be a source name
-
alSourcef
public static void alSourcef(int source, int param, float value) Sets the float value of a source parameter.- Parameters:
source
- the source to modifyparam
- the parameter to modify. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
value
- the parameter value
-
alSourcefDirect
public static void alSourcefDirect(long context, int source, int param, float value) Sets the float value of a source parameter.- Parameters:
source
- the source to modifyparam
- the parameter to modify. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
value
- the parameter value
-
alSource3f
public static void alSource3f(int source, int param, float v1, float v2, float v3) Sets the 3 dimensional values of a source parameter.- Parameters:
source
- the source to modifyparam
- the parameter to modify. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
v1
- the first parameter valuev2
- the second parameter valuev3
- the third parameter value
-
alSource3fDirect
public static void alSource3fDirect(long context, int source, int param, float v1, float v2, float v3) Sets the 3 dimensional values of a source parameter.- Parameters:
source
- the source to modifyparam
- the parameter to modify. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
v1
- the first parameter valuev2
- the second parameter valuev3
- the third parameter value
-
nalSourcefv
public static void nalSourcefv(int source, int param, long values) Unsafe version of:Sourcefv
-
alSourcefv
Pointer version ofSourcef
.- Parameters:
source
- the source to modifyparam
- the parameter to modifyvalues
- the parameter values
-
nalSourcefvDirect
public static void nalSourcefvDirect(long context, int source, int param, long values) Unsafe version of:alSourcefvDirect(long, int, int, java.nio.FloatBuffer)
-
alSourcefvDirect
Pointer version ofSourcef
.- Parameters:
source
- the source to modifyparam
- the parameter to modifyvalues
- the parameter values
-
alSourcei
public static void alSourcei(int source, int param, int value) Integer version ofSourcef
.- Parameters:
source
- the source to modifyparam
- the parameter to modifyvalue
- the parameter value
-
alSourceiDirect
public static void alSourceiDirect(long context, int source, int param, int value) Integer version ofSourcef
.- Parameters:
source
- the source to modifyparam
- the parameter to modifyvalue
- the parameter value
-
nalGetSourcef
public static void nalGetSourcef(int source, int param, long value) Unsafe version of:GetSourcef
-
alGetSourcef
Returns the float value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
value
- the parameter value
-
alGetSourcef
public static float alGetSourcef(int source, int param) Returns the float value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
-
nalGetSourcefDirect
public static void nalGetSourcefDirect(long context, int source, int param, long value) Unsafe version of:alGetSourcefDirect(long, int, int, java.nio.FloatBuffer)
-
alGetSourcefDirect
Returns the float value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
value
- the parameter value
-
alGetSourcefDirect
public static float alGetSourcefDirect(long context, int source, int param) Returns the float value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
-
nalGetSource3f
public static void nalGetSource3f(int source, int param, long v1, long v2, long v3) Unsafe version of:GetSource3f
-
alGetSource3f
public static void alGetSource3f(int source, int param, FloatBuffer v1, FloatBuffer v2, FloatBuffer v3) Returns the 3 dimensional values of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
v1
- the first parameter valuev2
- the second parameter valuev3
- the third parameter value
-
nalGetSource3fDirect
public static void nalGetSource3fDirect(long context, int source, int param, long v1, long v2, long v3) -
alGetSource3fDirect
public static void alGetSource3fDirect(long context, int source, int param, FloatBuffer v1, FloatBuffer v2, FloatBuffer v3) Returns the 3 dimensional values of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
v1
- the first parameter valuev2
- the second parameter valuev3
- the third parameter value
-
nalGetSourcefv
public static void nalGetSourcefv(int source, int param, long values) Unsafe version of:GetSourcefv
-
alGetSourcefv
Returns the float values of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
values
- the parameter values
-
nalGetSourcefvDirect
public static void nalGetSourcefvDirect(long context, int source, int param, long values) Unsafe version of:alGetSourcefvDirect(long, int, int, java.nio.FloatBuffer)
-
alGetSourcefvDirect
Returns the float values of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
values
- the parameter values
-
nalGetSourcei
public static void nalGetSourcei(int source, int param, long value) Unsafe version of:GetSourcei
-
alGetSourcei
Returns the integer value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
value
- the parameter value
-
alGetSourcei
public static int alGetSourcei(int source, int param) Returns the integer value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
-
nalGetSourceiDirect
public static void nalGetSourceiDirect(long context, int source, int param, long value) Unsafe version of:alGetSourceiDirect(long, int, int, java.nio.IntBuffer)
-
alGetSourceiDirect
Returns the integer value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
value
- the parameter value
-
alGetSourceiDirect
public static int alGetSourceiDirect(long context, int source, int param) Returns the integer value of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
-
nalGetSourceiv
public static void nalGetSourceiv(int source, int param, long values) Unsafe version of:GetSourceiv
-
alGetSourceiv
Returns the integer values of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
values
- the parameter values
-
nalGetSourceivDirect
public static void nalGetSourceivDirect(long context, int source, int param, long values) Unsafe version of:alGetSourceivDirect(long, int, int, java.nio.IntBuffer)
-
alGetSourceivDirect
Returns the integer values of the specified source parameter.- Parameters:
source
- the source to queryparam
- the parameter to query. One of:CONE_INNER_ANGLE
CONE_OUTER_ANGLE
PITCH
DIRECTION
LOOPING
BUFFER
SOURCE_STATE
CONE_OUTER_GAIN
SOURCE_TYPE
POSITION
VELOCITY
GAIN
REFERENCE_DISTANCE
ROLLOFF_FACTOR
MAX_DISTANCE
values
- the parameter values
-
nalSourceQueueBuffers
public static void nalSourceQueueBuffers(int sourceName, int numBuffers, long bufferNames) Unsafe version of:SourceQueueBuffers
- Parameters:
numBuffers
- the number of buffers to queue
-
alSourceQueueBuffers
Queues up one or multiple buffer names to the specified source.The buffers will be queued in the sequence in which they appear in the array. This command is legal on a source in any playback state (to allow for streaming, queuing has to be possible on a AL_PLAYING source). All buffers in a queue must have the same format and attributes, with the exception of the
NULL
buffer (i.e., 0) which can always be queued.- Parameters:
sourceName
- the target sourcebufferNames
- the buffer names
-
alSourceQueueBuffers
public static void alSourceQueueBuffers(int sourceName, int bufferName) Queues up one or multiple buffer names to the specified source.The buffers will be queued in the sequence in which they appear in the array. This command is legal on a source in any playback state (to allow for streaming, queuing has to be possible on a AL_PLAYING source). All buffers in a queue must have the same format and attributes, with the exception of the
NULL
buffer (i.e., 0) which can always be queued.- Parameters:
sourceName
- the target source
-
nalSourceQueueBuffersDirect
public static void nalSourceQueueBuffersDirect(long context, int sourceName, int numBuffers, long bufferNames) Unsafe version of:alSourceQueueBuffersDirect(long, int, java.nio.IntBuffer)
- Parameters:
numBuffers
- the number of buffers to queue
-
alSourceQueueBuffersDirect
Queues up one or multiple buffer names to the specified source.The buffers will be queued in the sequence in which they appear in the array. This command is legal on a source in any playback state (to allow for streaming, queuing has to be possible on a AL_PLAYING source). All buffers in a queue must have the same format and attributes, with the exception of the
NULL
buffer (i.e., 0) which can always be queued.- Parameters:
sourceName
- the target sourcebufferNames
- the buffer names
-
alSourceQueueBuffersDirect
public static void alSourceQueueBuffersDirect(long context, int sourceName, int bufferName) Queues up one or multiple buffer names to the specified source.The buffers will be queued in the sequence in which they appear in the array. This command is legal on a source in any playback state (to allow for streaming, queuing has to be possible on a AL_PLAYING source). All buffers in a queue must have the same format and attributes, with the exception of the
NULL
buffer (i.e., 0) which can always be queued.- Parameters:
sourceName
- the target source
-
nalSourceUnqueueBuffers
public static void nalSourceUnqueueBuffers(int sourceName, int numEntries, long bufferNames) Unsafe version of:SourceUnqueueBuffers
- Parameters:
numEntries
- the number of buffers to unqueue
-
alSourceUnqueueBuffers
Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.Once a queue entry for a buffer has been appended to a queue and is pending processing, it should not be changed. Removal of a given queue entry is not possible unless either the source is stopped (in which case then entire queue is considered processed), or if the queue entry has already been processed (AL_PLAYING or AL_PAUSED source). A playing source will enter the AL_STOPPED state if it completes playback of the last buffer in its queue (the same behavior as when a single buffer has been attached to a source and has finished playback).
- Parameters:
sourceName
- the target sourcebufferNames
- the buffer names
-
alSourceUnqueueBuffers
public static int alSourceUnqueueBuffers(int sourceName) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.Once a queue entry for a buffer has been appended to a queue and is pending processing, it should not be changed. Removal of a given queue entry is not possible unless either the source is stopped (in which case then entire queue is considered processed), or if the queue entry has already been processed (AL_PLAYING or AL_PAUSED source). A playing source will enter the AL_STOPPED state if it completes playback of the last buffer in its queue (the same behavior as when a single buffer has been attached to a source and has finished playback).
- Parameters:
sourceName
- the target source
-
nalSourceUnqueueBuffersDirect
public static void nalSourceUnqueueBuffersDirect(long context, int sourceName, int numEntries, long bufferNames) Unsafe version of:alSourceUnqueueBuffersDirect(long, int, java.nio.IntBuffer)
- Parameters:
numEntries
- the number of buffers to unqueue
-
alSourceUnqueueBuffersDirect
public static void alSourceUnqueueBuffersDirect(long context, int sourceName, IntBuffer bufferNames) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.Once a queue entry for a buffer has been appended to a queue and is pending processing, it should not be changed. Removal of a given queue entry is not possible unless either the source is stopped (in which case then entire queue is considered processed), or if the queue entry has already been processed (AL_PLAYING or AL_PAUSED source). A playing source will enter the AL_STOPPED state if it completes playback of the last buffer in its queue (the same behavior as when a single buffer has been attached to a source and has finished playback).
- Parameters:
sourceName
- the target sourcebufferNames
- the buffer names
-
alSourceUnqueueBuffersDirect
public static int alSourceUnqueueBuffersDirect(long context, int sourceName) Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.Once a queue entry for a buffer has been appended to a queue and is pending processing, it should not be changed. Removal of a given queue entry is not possible unless either the source is stopped (in which case then entire queue is considered processed), or if the queue entry has already been processed (AL_PLAYING or AL_PAUSED source). A playing source will enter the AL_STOPPED state if it completes playback of the last buffer in its queue (the same behavior as when a single buffer has been attached to a source and has finished playback).
- Parameters:
sourceName
- the target source
-
alSourcePlay
public static void alSourcePlay(int source) Sets the source state to AL_PLAYING.alSourcePlay applied to an AL_INITIAL source will promote the source to AL_PLAYING, thus the data found in the buffer will be fed into the processing, starting at the beginning. alSourcePlay applied to a AL_PLAYING source will restart the source from the beginning. It will not affect the configuration, and will leave the source in AL_PLAYING state, but reset the sampling offset to the beginning. alSourcePlay applied to a AL_PAUSED source will resume processing using the source state as preserved at the alSourcePause operation. alSourcePlay applied to a AL_STOPPED source will propagate it to AL_INITIAL then to AL_PLAYING immediately.
- Parameters:
source
- the source to play
-
alSourcePlayDirect
public static void alSourcePlayDirect(long context, int source) Sets the source state to AL_PLAYING.alSourcePlay applied to an AL_INITIAL source will promote the source to AL_PLAYING, thus the data found in the buffer will be fed into the processing, starting at the beginning. alSourcePlay applied to a AL_PLAYING source will restart the source from the beginning. It will not affect the configuration, and will leave the source in AL_PLAYING state, but reset the sampling offset to the beginning. alSourcePlay applied to a AL_PAUSED source will resume processing using the source state as preserved at the alSourcePause operation. alSourcePlay applied to a AL_STOPPED source will propagate it to AL_INITIAL then to AL_PLAYING immediately.
- Parameters:
source
- the source to play
-
alSourcePause
public static void alSourcePause(int source) Sets the source state to AL_PAUSED.alSourcePause applied to an AL_INITIAL source is a legal NOP. alSourcePause applied to a AL_PLAYING source will change its state to AL_PAUSED. The source is exempt from processing, its current state is preserved. alSourcePause applied to a AL_PAUSED source is a legal NOP. alSourcePause applied to a AL_STOPPED source is a legal NOP.
- Parameters:
source
- the source to pause
-
alSourcePauseDirect
public static void alSourcePauseDirect(long context, int source) Sets the source state to AL_PAUSED.alSourcePause applied to an AL_INITIAL source is a legal NOP. alSourcePause applied to a AL_PLAYING source will change its state to AL_PAUSED. The source is exempt from processing, its current state is preserved. alSourcePause applied to a AL_PAUSED source is a legal NOP. alSourcePause applied to a AL_STOPPED source is a legal NOP.
- Parameters:
source
- the source to pause
-
alSourceStop
public static void alSourceStop(int source) Sets the source state to AL_STOPPED.alSourceStop applied to an AL_INITIAL source is a legal NOP. alSourceStop applied to a AL_PLAYING source will change its state to AL_STOPPED. The source is exempt from processing, its current state is preserved. alSourceStop applied to a AL_PAUSED source will change its state to AL_STOPPED, with the same consequences as on a AL_PLAYING source. alSourceStop applied to a AL_STOPPED source is a legal NOP.
- Parameters:
source
- the source to stop
-
alSourceStopDirect
public static void alSourceStopDirect(long context, int source) Sets the source state to AL_STOPPED.alSourceStop applied to an AL_INITIAL source is a legal NOP. alSourceStop applied to a AL_PLAYING source will change its state to AL_STOPPED. The source is exempt from processing, its current state is preserved. alSourceStop applied to a AL_PAUSED source will change its state to AL_STOPPED, with the same consequences as on a AL_PLAYING source. alSourceStop applied to a AL_STOPPED source is a legal NOP.
- Parameters:
source
- the source to stop
-
alSourceRewind
public static void alSourceRewind(int source) Sets the source state to AL_INITIAL.alSourceRewind applied to an AL_INITIAL source is a legal NOP. alSourceRewind applied to a AL_PLAYING source will change its state to AL_STOPPED then AL_INITIAL. The source is exempt from processing: its current state is preserved, with the exception of the sampling offset, which is reset to the beginning. alSourceRewind applied to a AL_PAUSED source will change its state to AL_INITIAL, with the same consequences as on a AL_PLAYING source. alSourceRewind applied to an AL_STOPPED source promotes the source to AL_INITIAL, resetting the sampling offset to the beginning.
- Parameters:
source
- the source to rewind
-
alSourceRewindDirect
public static void alSourceRewindDirect(long context, int source) Sets the source state to AL_INITIAL.alSourceRewind applied to an AL_INITIAL source is a legal NOP. alSourceRewind applied to a AL_PLAYING source will change its state to AL_STOPPED then AL_INITIAL. The source is exempt from processing: its current state is preserved, with the exception of the sampling offset, which is reset to the beginning. alSourceRewind applied to a AL_PAUSED source will change its state to AL_INITIAL, with the same consequences as on a AL_PLAYING source. alSourceRewind applied to an AL_STOPPED source promotes the source to AL_INITIAL, resetting the sampling offset to the beginning.
- Parameters:
source
- the source to rewind
-
nalSourcePlayv
public static void nalSourcePlayv(int n, long sources) Unsafe version of:SourcePlayv
- Parameters:
n
- the number of sources to play
-
alSourcePlayv
Pointer version ofSourcePlay
.- Parameters:
sources
- the sources to play
-
nalSourcePlayvDirect
public static void nalSourcePlayvDirect(long context, int n, long sources) Unsafe version of:alSourcePlayvDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of sources to play
-
alSourcePlayvDirect
Pointer version ofSourcePlay
.- Parameters:
sources
- the sources to play
-
nalSourcePausev
public static void nalSourcePausev(int n, long sources) Unsafe version of:SourcePausev
- Parameters:
n
- the number of sources to pause
-
alSourcePausev
Pointer version ofSourcePause
.- Parameters:
sources
- the sources to pause
-
nalSourcePausevDirect
public static void nalSourcePausevDirect(long context, int n, long sources) Unsafe version of:alSourcePausevDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of sources to pause
-
alSourcePausevDirect
Pointer version ofSourcePause
.- Parameters:
sources
- the sources to pause
-
nalSourceStopv
public static void nalSourceStopv(int n, long sources) Unsafe version of:SourceStopv
- Parameters:
n
- the number of sources to stop
-
alSourceStopv
Pointer version ofSourceStop
.- Parameters:
sources
- the sources to stop
-
nalSourceStopvDirect
public static void nalSourceStopvDirect(long context, int n, long sources) Unsafe version of:alSourceStopvDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of sources to stop
-
alSourceStopvDirect
Pointer version ofSourceStop
.- Parameters:
sources
- the sources to stop
-
nalSourceRewindv
public static void nalSourceRewindv(int n, long sources) Unsafe version of:SourceRewindv
- Parameters:
n
- the number of sources to rewind
-
alSourceRewindv
Pointer version ofSourceRewind
.- Parameters:
sources
- the sources to rewind
-
nalSourceRewindvDirect
public static void nalSourceRewindvDirect(long context, int n, long sources) Unsafe version of:alSourceRewindvDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of sources to rewind
-
alSourceRewindvDirect
Pointer version ofSourceRewind
.- Parameters:
sources
- the sources to rewind
-
nalGenBuffers
public static void nalGenBuffers(int n, long bufferNames) Unsafe version of:GenBuffers
- Parameters:
n
- the number of buffer names to generate
-
alGenBuffers
Requests a number of buffer names.- Parameters:
bufferNames
- the buffer that will receive the buffer names
-
alGenBuffers
public static int alGenBuffers()Requests a number of buffer names. -
nalGenBuffersDirect
public static void nalGenBuffersDirect(long context, int n, long bufferNames) Unsafe version of:alGenBuffersDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of buffer names to generate
-
alGenBuffersDirect
Requests a number of buffer names.- Parameters:
bufferNames
- the buffer that will receive the buffer names
-
alGenBuffersDirect
public static int alGenBuffersDirect(long context) Requests a number of buffer names. -
nalDeleteBuffers
public static void nalDeleteBuffers(int n, long bufferNames) Unsafe version of:DeleteBuffers
- Parameters:
n
- the number of buffers to delete
-
alDeleteBuffers
Requests the deletion of a number of buffers.- Parameters:
bufferNames
- the buffers to delete
-
alDeleteBuffers
public static void alDeleteBuffers(int bufferName) Requests the deletion of a number of buffers. -
nalDeleteBuffersDirect
public static void nalDeleteBuffersDirect(long context, int n, long bufferNames) Unsafe version of:alDeleteBuffersDirect(long, java.nio.IntBuffer)
- Parameters:
n
- the number of buffers to delete
-
alDeleteBuffersDirect
Requests the deletion of a number of buffers.- Parameters:
bufferNames
- the buffers to delete
-
alDeleteBuffersDirect
public static void alDeleteBuffersDirect(long context, int bufferName) Requests the deletion of a number of buffers. -
alIsBuffer
public static boolean alIsBuffer(int bufferName) Verifies whether the specified object name is a buffer name.- Parameters:
bufferName
- a value that may be a buffer name
-
alIsBufferDirect
public static boolean alIsBufferDirect(long context, int bufferName) Verifies whether the specified object name is a buffer name.- Parameters:
bufferName
- a value that may be a buffer name
-
nalGetBufferf
public static void nalGetBufferf(int bufferName, int paramName, long value) Unsafe version of:GetBufferf
-
alGetBufferf
Returns the float value of the specified buffer parameter. -
alGetBufferf
public static float alGetBufferf(int bufferName, int paramName) Returns the float value of the specified buffer parameter. -
nalGetBufferfDirect
public static void nalGetBufferfDirect(long context, int bufferName, int paramName, long value) Unsafe version of:alGetBufferfDirect(long, int, int, java.nio.FloatBuffer)
-
alGetBufferfDirect
public static void alGetBufferfDirect(long context, int bufferName, int paramName, FloatBuffer value) Returns the float value of the specified buffer parameter. -
alGetBufferfDirect
public static float alGetBufferfDirect(long context, int bufferName, int paramName) Returns the float value of the specified buffer parameter. -
nalGetBufferi
public static void nalGetBufferi(int bufferName, int paramName, long value) Unsafe version of:GetBufferi
-
alGetBufferi
Returns the integer value of the specified buffer parameter. -
alGetBufferi
public static int alGetBufferi(int bufferName, int paramName) Returns the integer value of the specified buffer parameter. -
nalGetBufferiDirect
public static void nalGetBufferiDirect(long context, int bufferName, int paramName, long value) Unsafe version of:alGetBufferiDirect(long, int, int, java.nio.IntBuffer)
-
alGetBufferiDirect
Returns the integer value of the specified buffer parameter. -
alGetBufferiDirect
public static int alGetBufferiDirect(long context, int bufferName, int paramName) Returns the integer value of the specified buffer parameter. -
nalBufferData
public static void nalBufferData(int bufferName, int format, long data, int size, int frequency) Unsafe version of:BufferData
- Parameters:
size
- the data buffer size, in bytes
-
alBufferData
Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
alBufferData
Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
alBufferData
Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
alBufferData
Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
nalBufferDataDirect
public static void nalBufferDataDirect(long context, int bufferName, int format, long data, int size, int frequency) Unsafe version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
- Parameters:
size
- the data buffer size, in bytes
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, ByteBuffer data, int frequency) Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, ShortBuffer data, int frequency) Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, IntBuffer data, int frequency) Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, FloatBuffer data, int frequency) Sets the sample data of the specified buffer.The data specified is copied to an internal software, or if possible, hardware buffer. The implementation is free to apply decompression, conversion, resampling, and filtering as needed.
8-bit data is expressed as an unsigned value over the range 0 to 255, 128 being an audio output level of zero.
16-bit data is expressed as a signed value over the range -32768 to 32767, 0 being an audio output level of zero. Byte order for 16-bit values is determined by the native format of the CPU.
Stereo data is expressed in an interleaved format, left channel sample followed by the right channel sample.
Buffers containing audio data with more than one channel will be played without 3D spatialization features – these formats are normally used for background music.
- Parameters:
bufferName
- the buffer to modifyformat
- the data format. One of:FORMAT_MONO8
FORMAT_MONO16
FORMAT_STEREO8
FORMAT_STEREO16
data
- the sample datafrequency
- the data frequency
-
nalGetEnumValue
public static int nalGetEnumValue(long enumName) Unsafe version of:GetEnumValue
-
alGetEnumValue
Returns the enumeration value of the specified enum.- Parameters:
enumName
- the enum name
-
alGetEnumValue
Returns the enumeration value of the specified enum.- Parameters:
enumName
- the enum name
-
nalGetEnumValueDirect
public static int nalGetEnumValueDirect(long context, long enumName) Unsafe version of:alGetEnumValueDirect(long, java.nio.ByteBuffer)
-
alGetEnumValueDirect
Returns the enumeration value of the specified enum.- Parameters:
enumName
- the enum name
-
alGetEnumValueDirect
Returns the enumeration value of the specified enum.- Parameters:
enumName
- the enum name
-
nalGetProcAddress
public static long nalGetProcAddress(long funcName) Unsafe version of:GetProcAddress
-
alGetProcAddress
Retrieves extension entry points.Returns
NULL
if no entry point with the name funcName can be found. Implementations are free to returnNULL
if an entry point is present, but not applicable for the current context. However the specification does not guarantee this behavior.Applications can use alGetProcAddress to obtain core API entry points, not just extensions. This is the recommended way to dynamically load and unload OpenAL DLL's as sound drivers.
- Parameters:
funcName
- the function name
-
alGetProcAddress
Retrieves extension entry points.Returns
NULL
if no entry point with the name funcName can be found. Implementations are free to returnNULL
if an entry point is present, but not applicable for the current context. However the specification does not guarantee this behavior.Applications can use alGetProcAddress to obtain core API entry points, not just extensions. This is the recommended way to dynamically load and unload OpenAL DLL's as sound drivers.
- Parameters:
funcName
- the function name
-
nalGetProcAddressDirect
public static long nalGetProcAddressDirect(long context, long funcName) Unsafe version of:alGetProcAddressDirect(long, java.nio.ByteBuffer)
-
alGetProcAddressDirect
Retrieves extension entry points.Returns
NULL
if no entry point with the name funcName can be found. Implementations are free to returnNULL
if an entry point is present, but not applicable for the current context. However the specification does not guarantee this behavior.Applications can use alGetProcAddress to obtain core API entry points, not just extensions. This is the recommended way to dynamically load and unload OpenAL DLL's as sound drivers.
- Parameters:
funcName
- the function name
-
alGetProcAddressDirect
Retrieves extension entry points.Returns
NULL
if no entry point with the name funcName can be found. Implementations are free to returnNULL
if an entry point is present, but not applicable for the current context. However the specification does not guarantee this behavior.Applications can use alGetProcAddress to obtain core API entry points, not just extensions. This is the recommended way to dynamically load and unload OpenAL DLL's as sound drivers.
- Parameters:
funcName
- the function name
-
nalIsExtensionPresent
public static boolean nalIsExtensionPresent(long extName) Unsafe version of:IsExtensionPresent
-
alIsExtensionPresent
Verifies that a given extension is available for the current context and the device it is associated with.Invalid and unsupported string tokens return ALC_FALSE.
extName
is not case sensitive – the implementation will convert the name to all upper-case internally (and will express extension names in upper-case).- Parameters:
extName
- the extension name
-
alIsExtensionPresent
Verifies that a given extension is available for the current context and the device it is associated with.Invalid and unsupported string tokens return ALC_FALSE.
extName
is not case sensitive – the implementation will convert the name to all upper-case internally (and will express extension names in upper-case).- Parameters:
extName
- the extension name
-
nalIsExtensionPresentDirect
public static boolean nalIsExtensionPresentDirect(long context, long extName) Unsafe version of:alIsExtensionPresentDirect(long, java.nio.ByteBuffer)
-
alIsExtensionPresentDirect
Verifies that a given extension is available for the current context and the device it is associated with.Invalid and unsupported string tokens return ALC_FALSE.
extName
is not case sensitive – the implementation will convert the name to all upper-case internally (and will express extension names in upper-case).- Parameters:
extName
- the extension name
-
alIsExtensionPresentDirect
Verifies that a given extension is available for the current context and the device it is associated with.Invalid and unsupported string tokens return ALC_FALSE.
extName
is not case sensitive – the implementation will convert the name to all upper-case internally (and will express extension names in upper-case).- Parameters:
extName
- the extension name
-
alGetIntegerv
public static void alGetIntegerv(int paramName, int[] dest) Array version of:GetIntegerv
-
alGetIntegervDirect
public static void alGetIntegervDirect(long context, int paramName, int[] dest) Array version of:alGetIntegervDirect(long, int, java.nio.IntBuffer)
-
alGetFloatv
public static void alGetFloatv(int paramName, float[] dest) Array version of:GetFloatv
-
alGetFloatvDirect
public static void alGetFloatvDirect(long context, int paramName, float[] dest) Array version of:alGetFloatvDirect(long, int, java.nio.FloatBuffer)
-
alGetDoublev
public static void alGetDoublev(int paramName, double[] dest) Array version of:GetDoublev
-
alGetDoublevDirect
public static void alGetDoublevDirect(long context, int paramName, double[] dest) Array version of:alGetDoublevDirect(long, int, java.nio.DoubleBuffer)
-
alListenerfv
public static void alListenerfv(int paramName, float[] values) Array version of:Listenerfv
-
alListenerfvDirect
public static void alListenerfvDirect(long context, int paramName, float[] values) Array version of:alListenerfvDirect(long, int, java.nio.FloatBuffer)
-
alGetListenerf
public static void alGetListenerf(int paramName, float[] value) Array version of:GetListenerf
-
alGetListenerfDirect
public static void alGetListenerfDirect(long context, int paramName, float[] value) Array version of:alGetListenerfDirect(long, int, java.nio.FloatBuffer)
-
alGetListeneri
public static void alGetListeneri(int paramName, int[] value) Array version of:GetListeneri
-
alGetListeneriDirect
public static void alGetListeneriDirect(long context, int paramName, int[] value) Array version of:alGetListeneriDirect(long, int, java.nio.IntBuffer)
-
alGetListener3f
public static void alGetListener3f(int paramName, float[] value1, float[] value2, float[] value3) Array version of:GetListener3f
-
alGetListener3fDirect
public static void alGetListener3fDirect(long context, int paramName, float[] value1, float[] value2, float[] value3) -
alGetListenerfv
public static void alGetListenerfv(int paramName, float[] values) Array version of:GetListenerfv
-
alGetListenerfvDirect
public static void alGetListenerfvDirect(long context, int paramName, float[] values) Array version of:alGetListenerfvDirect(long, int, java.nio.FloatBuffer)
-
alGenSources
public static void alGenSources(int[] srcNames) Array version of:GenSources
-
alGenSourcesDirect
public static void alGenSourcesDirect(long context, int[] srcNames) Array version of:alGenSourcesDirect(long, java.nio.IntBuffer)
-
alDeleteSources
public static void alDeleteSources(int[] sources) Array version of:DeleteSources
-
alDeleteSourcesDirect
public static void alDeleteSourcesDirect(long context, int[] sources) Array version of:alDeleteSourcesDirect(long, java.nio.IntBuffer)
-
alSourcefv
public static void alSourcefv(int source, int param, float[] values) Array version of:Sourcefv
-
alSourcefvDirect
public static void alSourcefvDirect(long context, int source, int param, float[] values) Array version of:alSourcefvDirect(long, int, int, java.nio.FloatBuffer)
-
alGetSourcef
public static void alGetSourcef(int source, int param, float[] value) Array version of:GetSourcef
-
alGetSourcefDirect
public static void alGetSourcefDirect(long context, int source, int param, float[] value) Array version of:alGetSourcefDirect(long, int, int, java.nio.FloatBuffer)
-
alGetSource3f
public static void alGetSource3f(int source, int param, float[] v1, float[] v2, float[] v3) Array version of:GetSource3f
-
alGetSource3fDirect
public static void alGetSource3fDirect(long context, int source, int param, float[] v1, float[] v2, float[] v3) -
alGetSourcefv
public static void alGetSourcefv(int source, int param, float[] values) Array version of:GetSourcefv
-
alGetSourcefvDirect
public static void alGetSourcefvDirect(long context, int source, int param, float[] values) Array version of:alGetSourcefvDirect(long, int, int, java.nio.FloatBuffer)
-
alGetSourcei
public static void alGetSourcei(int source, int param, int[] value) Array version of:GetSourcei
-
alGetSourceiDirect
public static void alGetSourceiDirect(long context, int source, int param, int[] value) Array version of:alGetSourceiDirect(long, int, int, java.nio.IntBuffer)
-
alGetSourceiv
public static void alGetSourceiv(int source, int param, int[] values) Array version of:GetSourceiv
-
alGetSourceivDirect
public static void alGetSourceivDirect(long context, int source, int param, int[] values) Array version of:alGetSourceivDirect(long, int, int, java.nio.IntBuffer)
-
alSourceQueueBuffers
public static void alSourceQueueBuffers(int sourceName, int[] bufferNames) Array version of:SourceQueueBuffers
-
alSourceQueueBuffersDirect
public static void alSourceQueueBuffersDirect(long context, int sourceName, int[] bufferNames) Array version of:alSourceQueueBuffersDirect(long, int, java.nio.IntBuffer)
-
alSourceUnqueueBuffers
public static void alSourceUnqueueBuffers(int sourceName, int[] bufferNames) Array version of:SourceUnqueueBuffers
-
alSourceUnqueueBuffersDirect
public static void alSourceUnqueueBuffersDirect(long context, int sourceName, int[] bufferNames) Array version of:alSourceUnqueueBuffersDirect(long, int, java.nio.IntBuffer)
-
alSourcePlayv
public static void alSourcePlayv(int[] sources) Array version of:SourcePlayv
-
alSourcePlayvDirect
public static void alSourcePlayvDirect(long context, int[] sources) Array version of:alSourcePlayvDirect(long, java.nio.IntBuffer)
-
alSourcePausev
public static void alSourcePausev(int[] sources) Array version of:SourcePausev
-
alSourcePausevDirect
public static void alSourcePausevDirect(long context, int[] sources) Array version of:alSourcePausevDirect(long, java.nio.IntBuffer)
-
alSourceStopv
public static void alSourceStopv(int[] sources) Array version of:SourceStopv
-
alSourceStopvDirect
public static void alSourceStopvDirect(long context, int[] sources) Array version of:alSourceStopvDirect(long, java.nio.IntBuffer)
-
alSourceRewindv
public static void alSourceRewindv(int[] sources) Array version of:SourceRewindv
-
alSourceRewindvDirect
public static void alSourceRewindvDirect(long context, int[] sources) Array version of:alSourceRewindvDirect(long, java.nio.IntBuffer)
-
alGenBuffers
public static void alGenBuffers(int[] bufferNames) Array version of:GenBuffers
-
alGenBuffersDirect
public static void alGenBuffersDirect(long context, int[] bufferNames) Array version of:alGenBuffersDirect(long, java.nio.IntBuffer)
-
alDeleteBuffers
public static void alDeleteBuffers(int[] bufferNames) Array version of:DeleteBuffers
-
alDeleteBuffersDirect
public static void alDeleteBuffersDirect(long context, int[] bufferNames) Array version of:alDeleteBuffersDirect(long, java.nio.IntBuffer)
-
alGetBufferf
public static void alGetBufferf(int bufferName, int paramName, float[] value) Array version of:GetBufferf
-
alGetBufferfDirect
public static void alGetBufferfDirect(long context, int bufferName, int paramName, float[] value) Array version of:alGetBufferfDirect(long, int, int, java.nio.FloatBuffer)
-
alGetBufferi
public static void alGetBufferi(int bufferName, int paramName, int[] value) Array version of:GetBufferi
-
alGetBufferiDirect
public static void alGetBufferiDirect(long context, int bufferName, int paramName, int[] value) Array version of:alGetBufferiDirect(long, int, int, java.nio.IntBuffer)
-
alBufferData
public static void alBufferData(int bufferName, int format, short[] data, int frequency) Array version of:BufferData
-
alBufferData
public static void alBufferData(int bufferName, int format, int[] data, int frequency) Array version of:BufferData
-
alBufferData
public static void alBufferData(int bufferName, int format, float[] data, int frequency) Array version of:BufferData
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, short[] data, int frequency) Array version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, int[] data, int frequency) Array version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
-
alBufferDataDirect
public static void alBufferDataDirect(long context, int bufferName, int format, float[] data, int frequency) Array version of:alBufferDataDirect(long, int, int, java.nio.ByteBuffer, int)
-