Package org.lwjgl.openal
Class AL11
- java.lang.Object
-
- org.lwjgl.openal.AL11
-
public class AL11 extends java.lang.Object
Native bindings to AL 1.1 functionality.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
AL_BYTE_OFFSET
AL_EXPONENT_DISTANCE
AL_EXPONENT_DISTANCE_CLAMPED
AL_ILLEGAL_COMMAND
AL_LINEAR_DISTANCE
AL_LINEAR_DISTANCE_CLAMPED
AL_SAMPLE_OFFSET
AL_SEC_OFFSET
AL_SPEED_OF_SOUND
AL_STATIC
AL_STREAMING
AL_UNDETERMINEDGeneral tokens.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
alBuffer3f(int buffer, int paramName, float value1, float value2, float value3)
Sets the dimensional value of a buffer parameter.static void
alBuffer3i(int buffer, int paramName, int value1, int value2, int value3)
Sets the integer 3 dimensional value of a buffer parameter.static void
alBufferf(int buffer, int paramName, float value)
Sets the float value of a buffer parameter.static void
alBufferfv(int buffer, int paramName, float[] value)
Array version of:Bufferfv
static void
alBufferfv(int buffer, int paramName, java.nio.FloatBuffer value)
the pointer version ofBufferf
static void
alBufferi(int buffer, int paramName, int value)
Sets the integer value of a buffer parameter.static void
alBufferiv(int buffer, int paramName, int[] value)
Array version of:Bufferiv
static void
alBufferiv(int buffer, int paramName, java.nio.IntBuffer value)
the pointer version ofBufferi
static float
alGetBufferf(int buffer, int param)
Returns the float value of the specified buffer parameter.static void
alGetBufferf(int buffer, int param, float[] value)
Array version of:GetBufferf
static void
alGetBufferf(int buffer, int param, java.nio.FloatBuffer value)
Returns the float value of the specified buffer parameter.static void
alGetBufferfv(int buffer, int param, float[] values)
Array version of:GetBufferfv
static void
alGetBufferfv(int buffer, int param, java.nio.FloatBuffer values)
Returns the float values of the specified buffer parameter.static int
alGetBufferi(int buffer, int param)
Returns the integer value of the specified buffer parameter.static void
alGetBufferi(int buffer, int param, int[] value)
Array version of:GetBufferi
static void
alGetBufferi(int buffer, int param, java.nio.IntBuffer value)
Returns the integer value of the specified buffer parameter.static void
alGetBufferiv(int buffer, int param, int[] values)
Array version of:GetBufferiv
static void
alGetBufferiv(int buffer, int param, java.nio.IntBuffer values)
Returns the integer values of the specified buffer parameter.static void
alGetListeneriv(int param, int[] values)
Array version of:GetListeneriv
static void
alGetListeneriv(int param, java.nio.IntBuffer values)
Returns the integer values of the specified listener parameter.static void
alListener3i(int paramName, float value1, float value2, float value3)
Sets the 3 dimensional integer values of a listener parameter.static void
alListeneriv(int listener, int[] value)
Array version of:Listeneriv
static void
alListeneriv(int listener, java.nio.IntBuffer value)
Pointer version.static void
alSource3i(int source, int paramName, int value1, int value2, int value3)
Sets the 3 dimensional integer values of a source parameter.static void
alSourceiv(int source, int paramName, int[] value)
Array version of:Sourceiv
static void
alSourceiv(int source, int paramName, java.nio.IntBuffer value)
Pointer version.static void
alSpeedOfSound(float value)
Sets the speed of sound.
-
-
-
Field Detail
-
AL_SEC_OFFSET
public static final int AL_SEC_OFFSET
General tokens.- See Also:
- Constant Field Values
-
AL_SAMPLE_OFFSET
public static final int AL_SAMPLE_OFFSET
General tokens.- See Also:
- Constant Field Values
-
AL_BYTE_OFFSET
public static final int AL_BYTE_OFFSET
General tokens.- See Also:
- Constant Field Values
-
AL_STATIC
public static final int AL_STATIC
General tokens.- See Also:
- Constant Field Values
-
AL_STREAMING
public static final int AL_STREAMING
General tokens.- See Also:
- Constant Field Values
-
AL_UNDETERMINED
public static final int AL_UNDETERMINED
General tokens.- See Also:
- Constant Field Values
-
AL_ILLEGAL_COMMAND
public static final int AL_ILLEGAL_COMMAND
General tokens.- See Also:
- Constant Field Values
-
AL_SPEED_OF_SOUND
public static final int AL_SPEED_OF_SOUND
General tokens.- See Also:
- Constant Field Values
-
AL_LINEAR_DISTANCE
public static final int AL_LINEAR_DISTANCE
General tokens.- See Also:
- Constant Field Values
-
AL_LINEAR_DISTANCE_CLAMPED
public static final int AL_LINEAR_DISTANCE_CLAMPED
General tokens.- See Also:
- Constant Field Values
-
AL_EXPONENT_DISTANCE
public static final int AL_EXPONENT_DISTANCE
General tokens.- See Also:
- Constant Field Values
-
AL_EXPONENT_DISTANCE_CLAMPED
public static final int AL_EXPONENT_DISTANCE_CLAMPED
General tokens.- See Also:
- Constant Field Values
-
-
Method Detail
-
alListener3i
public static void alListener3i(int paramName, float value1, float value2, float value3)
Sets the 3 dimensional integer values of a listener parameter.- Parameters:
paramName
- the parameter to modifyvalue1
- the first valuevalue2
- the second valuevalue3
- the third value
-
alGetListeneriv
public static void alGetListeneriv(int param, java.nio.IntBuffer values)
Returns the integer values of the specified listener parameter.- Parameters:
param
- the parameter to queryvalues
- the parameter values
-
alSource3i
public static void alSource3i(int source, int paramName, int value1, int value2, int value3)
Sets the 3 dimensional integer values of a source parameter.- Parameters:
source
- the source to modifyparamName
- the parameter to modifyvalue1
- the first valuevalue2
- the second valuevalue3
- the third value
-
alListeneriv
public static void alListeneriv(int listener, java.nio.IntBuffer value)
Pointer version.- Parameters:
listener
- the parameter to modifyvalue
- the parameter values
-
alSourceiv
public static void alSourceiv(int source, int paramName, java.nio.IntBuffer value)
Pointer version.- Parameters:
source
- the source to modifyparamName
- the parameter to modifyvalue
- the parameter values
-
alBufferf
public static void alBufferf(int buffer, int paramName, float value)
Sets the float value of a buffer parameter.- Parameters:
buffer
- the buffer to modifyparamName
- the parameter to modifyvalue
- the value
-
alBuffer3f
public static void alBuffer3f(int buffer, int paramName, float value1, float value2, float value3)
Sets the dimensional value of a buffer parameter.- Parameters:
buffer
- the buffer to modifyparamName
- the parameter to modifyvalue1
- the first valuevalue2
- the second valuevalue3
- the third value
-
alBufferfv
public static void alBufferfv(int buffer, int paramName, java.nio.FloatBuffer value)
the pointer version ofBufferf
- Parameters:
buffer
- the buffer to modifyparamName
- the parameter to modifyvalue
- the parameter values
-
alBufferi
public static void alBufferi(int buffer, int paramName, int value)
Sets the integer value of a buffer parameter.- Parameters:
buffer
- the buffer to modifyparamName
- the parameter to modifyvalue
- the value
-
alBuffer3i
public static void alBuffer3i(int buffer, int paramName, int value1, int value2, int value3)
Sets the integer 3 dimensional value of a buffer parameter.- Parameters:
buffer
- the buffer to modifyparamName
- the parameter to modifyvalue1
- the first valuevalue2
- the second valuevalue3
- the third value
-
alBufferiv
public static void alBufferiv(int buffer, int paramName, java.nio.IntBuffer value)
the pointer version ofBufferi
- Parameters:
buffer
- the buffer to modifyparamName
- the parameter to modifyvalue
- the parameter values
-
alGetBufferi
public static void alGetBufferi(int buffer, int param, java.nio.IntBuffer value)
Returns the integer value of the specified buffer parameter.- Parameters:
buffer
- the buffer to queryparam
- the parameter to queryvalue
- the parameter value
-
alGetBufferi
public static int alGetBufferi(int buffer, int param)
Returns the integer value of the specified buffer parameter.- Parameters:
buffer
- the buffer to queryparam
- the parameter to query
-
alGetBufferiv
public static void alGetBufferiv(int buffer, int param, java.nio.IntBuffer values)
Returns the integer values of the specified buffer parameter.- Parameters:
buffer
- the buffer to queryparam
- the parameter to queryvalues
- the parameter values
-
alGetBufferf
public static void alGetBufferf(int buffer, int param, java.nio.FloatBuffer value)
Returns the float value of the specified buffer parameter.- Parameters:
buffer
- the buffer to queryparam
- the parameter to queryvalue
- the parameter value
-
alGetBufferf
public static float alGetBufferf(int buffer, int param)
Returns the float value of the specified buffer parameter.- Parameters:
buffer
- the buffer to queryparam
- the parameter to query
-
alGetBufferfv
public static void alGetBufferfv(int buffer, int param, java.nio.FloatBuffer values)
Returns the float values of the specified buffer parameter.- Parameters:
buffer
- the buffer to queryparam
- the parameter to queryvalues
- the parameter values
-
alSpeedOfSound
public static void alSpeedOfSound(float value)
Sets the speed of sound.- Parameters:
value
- the speed of sound
-
alGetListeneriv
public static void alGetListeneriv(int param, int[] values)
Array version of:GetListeneriv
-
alListeneriv
public static void alListeneriv(int listener, int[] value)
Array version of:Listeneriv
-
alSourceiv
public static void alSourceiv(int source, int paramName, int[] value)
Array version of:Sourceiv
-
alBufferfv
public static void alBufferfv(int buffer, int paramName, float[] value)
Array version of:Bufferfv
-
alBufferiv
public static void alBufferiv(int buffer, int paramName, int[] value)
Array version of:Bufferiv
-
alGetBufferi
public static void alGetBufferi(int buffer, int param, int[] value)
Array version of:GetBufferi
-
alGetBufferiv
public static void alGetBufferiv(int buffer, int param, int[] values)
Array version of:GetBufferiv
-
alGetBufferf
public static void alGetBufferf(int buffer, int param, float[] value)
Array version of:GetBufferf
-
alGetBufferfv
public static void alGetBufferfv(int buffer, int param, float[] values)
Array version of:GetBufferfv
-
-