public final class AL11
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AL_BYTE_OFFSET
Source buffer position information in bytes
|
static int |
AL_EXPONENT_DISTANCE
Speed of Sound in units per second
|
static int |
AL_EXPONENT_DISTANCE_CLAMPED
Speed of Sound in units per second
|
static int |
AL_ILLEGAL_COMMAND |
static int |
AL_LINEAR_DISTANCE
Speed of Sound in units per second
|
static int |
AL_LINEAR_DISTANCE_CLAMPED
Speed of Sound in units per second
|
static int |
AL_SAMPLE_OFFSET
Source buffer position information in samples
|
static int |
AL_SEC_OFFSET
Source buffer position information in seconds
|
static int |
AL_SPEED_OF_SOUND
Speed of Sound in units per second
|
static int |
AL_STATIC
Type of source: Buffer has been attached using AL_BUFFER
|
static int |
AL_STREAMING
Type of source: if one or more Buffers have been attached using alSourceQueueBuffers
|
static int |
AL_UNDETERMINED
Type of source: when it has the NULL buffer attached
|
Modifier and Type | Method and Description |
---|---|
static void |
alBuffer(int buffer,
int pname,
java.nio.FloatBuffer value)
This function sets a floating point property of a buffer.
|
static void |
alBuffer(int buffer,
int pname,
java.nio.IntBuffer value)
This function sets an integer property of a buffer.
|
static void |
alBuffer3f(int buffer,
int pname,
float v1,
float v2,
float v3)
This function sets a floating point property of a buffer.
|
static void |
alBuffer3i(int buffer,
int pname,
int v1,
int v2,
int v3)
This function sets an integer property of a buffer.
|
static void |
alBufferf(int buffer,
int pname,
float value)
This function sets a floating point property of a buffer.
|
static void |
alBufferi(int buffer,
int pname,
int value)
This function sets an integer property of a buffer.
|
static void |
alGetBuffer(int buffer,
int pname,
java.nio.FloatBuffer values)
This function retrieves a floating point property of a buffer.
|
static void |
alGetBuffer(int buffer,
int pname,
java.nio.IntBuffer values)
This function retrieves an integer property of a buffer.
|
static float |
alGetBufferf(int buffer,
int pname)
This function retrieves a floating point property of a buffer.
|
static int |
alGetBufferi(int buffer,
int pname)
This function retrieves an integer property of a buffer.
|
static void |
alGetListeneri(int pname,
java.nio.FloatBuffer intdata)
Listener state is maintained inside the AL implementation and can be queried in
full.
|
static void |
alListener3i(int pname,
int v1,
int v2,
int v3)
Listener attributes are changed using the Listener group of commands.
|
static void |
alSource(int source,
int pname,
java.nio.IntBuffer value)
Specifies the position and other properties as taken into account during
sound processing.
|
static void |
alSource3i(int source,
int pname,
int v1,
int v2,
int v3)
Specifies the position and other properties as taken into account during
sound processing.
|
static void |
alSpeedOfSound(float value)
AL_SPEED_OF_SOUND allows the application to change the reference (propagation)
speed used in the Doppler calculation.
|
public static final int AL_SEC_OFFSET
public static final int AL_SAMPLE_OFFSET
public static final int AL_BYTE_OFFSET
public static final int AL_STATIC
public static final int AL_STREAMING
public static final int AL_UNDETERMINED
public static final int AL_ILLEGAL_COMMAND
public static final int AL_SPEED_OF_SOUND
public static final int AL_LINEAR_DISTANCE
public static final int AL_LINEAR_DISTANCE_CLAMPED
public static final int AL_EXPONENT_DISTANCE
public static final int AL_EXPONENT_DISTANCE_CLAMPED
public static void alListener3i(int pname, int v1, int v2, int v3)
pname
- name of the attribute to be setv1
- value value 1v2
- value value 2v3
- value value 3public static void alGetListeneri(int pname, java.nio.FloatBuffer intdata)
pname
- name of the attribute to be retrievedintdata
- Buffer to write ints topublic static void alSource3i(int source, int pname, int v1, int v2, int v3)
source
- Source to set property onpname
- property to setv1
- value 1 of propertyv2
- value 2 of propertyv3
- value 3 of propertypublic static void alSource(int source, int pname, java.nio.IntBuffer value)
source
- Source to set property onpname
- property to setvalue
- IntBuffer containing value of propertypublic static void alBufferf(int buffer, int pname, float value)
buffer
- Buffer to set property onpname
- property to setvalue
- value of propertypublic static void alBuffer3f(int buffer, int pname, float v1, float v2, float v3)
buffer
- Buffer to set property onpname
- property to setv1
- value of propertyv2
- value of propertyv3
- value of propertypublic static void alBuffer(int buffer, int pname, java.nio.FloatBuffer value)
buffer
- Buffer to set property onpname
- property to setvalue
- FloatBuffer containing value of propertypublic static void alBufferi(int buffer, int pname, int value)
buffer
- Buffer to set property onpname
- property to setvalue
- value of propertypublic static void alBuffer3i(int buffer, int pname, int v1, int v2, int v3)
buffer
- Buffer to set property onpname
- property to setv1
- value of propertyv2
- value of propertyv3
- value of propertypublic static void alBuffer(int buffer, int pname, java.nio.IntBuffer value)
buffer
- Buffer to set property onpname
- property to setvalue
- IntBuffer containing value of propertypublic static int alGetBufferi(int buffer, int pname)
buffer
- Buffer to get property frompname
- name of propertypublic static void alGetBuffer(int buffer, int pname, java.nio.IntBuffer values)
buffer
- Buffer to get property frompname
- name of propertypublic static float alGetBufferf(int buffer, int pname)
buffer
- Buffer to get property frompname
- name of propertypublic static void alGetBuffer(int buffer, int pname, java.nio.FloatBuffer values)
buffer
- Buffer to get property frompname
- name of propertypublic static void alSpeedOfSound(float value)
AL_SPEED_OF_SOUND allows the application to change the reference (propagation) speed used in the Doppler calculation. The source and listener velocities should be expressed in the same units as the speed of sound.
A negative or zero value will result in an AL_INVALID_VALUE error, and the command is ignored. The default value is 343.3 (appropriate for velocity units of meters and air as the propagation medium). The current setting can be queried using alGetFloat{v} and AL_SPEED_OF_SOUND. Distance and velocity units are completely independent of one another (so you could use different units for each if desired).
value
- distance model to be setCopyright © 2002-2009 lwjgl.org. All Rights Reserved.