Top Description Fields Constructors Methods
org.lwjgl.openal

public Class AL10

extends Object
Class Inheritance
Known Direct Subclasses
org.lwjgl.openal.AL11
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Native bindings to AL 1.0 functionality.

Field Summary

Modifier and TypeField and Description
public static final int
AL_BITS

Buffer attributes,

public static final int
AL_BUFFER

Source attributes.

public static final int
public static final int
AL_BUFFERS_QUEUED

Queue state.

public static final int
AL_CHANNELS

Buffer attributes,

public static final int
AL_CONE_INNER_ANGLE

Source attributes.

public static final int
AL_CONE_OUTER_ANGLE

Source attributes.

public static final int
AL_CONE_OUTER_GAIN

Source attributes.

public static final int
AL_DIRECTION

Source attributes.

public static final int
AL_DISTANCE_MODEL

Numerical queries.

public static final int
AL_DOPPLER_FACTOR

Numerical queries.

public static final int
AL_EXTENSIONS

String queries.

public static final int
AL_FALSE

General tokens.

public static final int
AL_FORMAT_MONO16

Buffer formats.

public static final int
AL_FORMAT_MONO8

Buffer formats.

public static final int
AL_FORMAT_STEREO16

Buffer formats.

public static final int
AL_FORMAT_STEREO8

Buffer formats.

public static final int
AL_FREQUENCY

Buffer attributes,

public static final int
AL_GAIN

Listener and Source attributes.

public static final int
AL_INITIAL

Source state.

public static final int
AL_INVALID

General tokens.

public static final int
AL_INVALID_ENUM

Error conditions.

public static final int
AL_INVALID_NAME

Error conditions.

public static final int
AL_INVALID_OPERATION

Error conditions.

public static final int
AL_INVALID_VALUE

Error conditions.

public static final int
AL_INVERSE_DISTANCE

Distance attenuation models.

public static final int
AL_INVERSE_DISTANCE_CLAMPED

Distance attenuation models.

public static final int
AL_LOOPING

Source attributes.

public static final int
AL_MAX_DISTANCE

Distance model attributes,

public static final int
AL_MAX_GAIN

Gain bounds.

public static final int
AL_MIN_GAIN

Gain bounds.

public static final int
AL_NO_ERROR

Error conditions.

public static final int
AL_NONE

General tokens.

public static final int
AL_ORIENTATION

Listener attributes.

public static final int
AL_OUT_OF_MEMORY

Error conditions.

public static final int
AL_PAUSED

Source state.

public static final int
AL_PENDING

Buffer state.

public static final int
AL_PITCH

Source attributes.

public static final int
AL_PLAYING

Source state.

public static final int
AL_POSITION

Listener and Source attributes.

public static final int
AL_PROCESSED

Buffer state.

public static final int
AL_REFERENCE_DISTANCE

Distance model attributes,

public static final int
AL_RENDERER

String queries.

public static final int
AL_ROLLOFF_FACTOR

Distance model attributes,

public static final int
AL_SIZE

Buffer attributes,

public static final int
AL_SOURCE_ABSOLUTE

Source types.

public static final int
AL_SOURCE_RELATIVE

Source types.

public static final int
AL_SOURCE_STATE

Source attributes.

public static final int
AL_SOURCE_TYPE

Source attributes.

public static final int
AL_STOPPED

Source state.

public static final int
AL_TRUE

General tokens.

public static final int
AL_UNUSED

Buffer state.

public static final int
AL_VELOCITY

Listener and Source attributes.

public static final int
AL_VENDOR

String queries.

public static final int
AL_VERSION

String queries.

Constructor Summary

AccessConstructor and Description
protected
AL10()

Method Summary

Modifier and TypeMethod and Description
public static void
alBufferData(int
the buffer to modify
bufferName
,
int format, ByteBuffer
the sample data
data
,
int
the data frequency
frequency
)

Sets the sample data of the specified buffer.

public static void
alBufferData(int
the buffer to modify
bufferName
,
int format, ShortBuffer
the sample data
data
,
int
the data frequency
frequency
)

Sets the sample data of the specified buffer.

public static void
alBufferData(int
the buffer to modify
bufferName
,
int format, IntBuffer
the sample data
data
,
int
the data frequency
frequency
)

Sets the sample data of the specified buffer.

public static void
alBufferData(int
the buffer to modify
bufferName
,
int format, FloatBuffer
the sample data
data
,
int
the data frequency
frequency
)

Sets the sample data of the specified buffer.

public static void
alBufferData(int bufferName, int format, short[] data, int frequency)

Array version of: BufferData

public static void
alBufferData(int bufferName, int format, int[] data, int frequency)

Array version of: BufferData

public static void
alBufferData(int bufferName, int format, float[] data, int frequency)

Array version of: BufferData

public static void
alDeleteBuffers(IntBuffer
the buffers to delete
bufferNames
)

Requests the deletion of a number of buffers.

public static void
alDeleteBuffers(int bufferName)

Requests the deletion of a number of buffers.

public static void
alDeleteBuffers(int[] bufferNames)

Array version of: DeleteBuffers

public static void
alDeleteSources(IntBuffer
the sources to delete
sources
)

Requests the deletion of a number of sources.

public static void
alDeleteSources(int source)

Requests the deletion of a number of sources.

public static void
alDeleteSources(int[] sources)

Array version of: DeleteSources

public static void
alDisable(int
the capability to disable
target
)

Disables AL capabilities.

public static void
alDistanceModel(int modelName)

Sets the distance attenuation model.

public static void
alDopplerFactor(float
the doppler factor
dopplerFactor
)

Sets the doppler effect factor.

public static void
alDopplerVelocity(float
the doppler velocity
dopplerVelocity
)

Sets the doppler effect propagation velocity.

public static void
alEnable(int
the capability to enable
target
)

Enables AL capabilities.

public static void
alGenBuffers(IntBuffer
the buffer that will receive the buffer names
bufferNames
)

Requests a number of buffer names.

public static int
alGenBuffers()

Requests a number of buffer names.

public static void
alGenBuffers(int[] bufferNames)

Array version of: GenBuffers

public static void
alGenSources(IntBuffer
the buffer that will receive the source names
srcNames
)

Requests a number of source names.

public static int
alGenSources()

Requests a number of source names.

public static void
alGenSources(int[] srcNames)

Array version of: GenSources

public static boolean
alGetBoolean(int
the parameter to query
paramName
)

Returns the boolean value of the specified parameter.

public static void
alGetBooleanv(int
the parameter to query
paramName
,
ByteBuffer
a buffer that will receive the parameter values
dest
)

Pointer version of GetBoolean.

public static void
alGetBufferf(int
the buffer to query
bufferName
,
int
the parameter to query. One of:
FREQUENCYBITSCHANNELSSIZE
paramName
,
FloatBuffer
the parameter value
value
)

Returns the float value of the specified buffer parameter.

public static float
alGetBufferf(int
the buffer to query
bufferName
,
int
the parameter to query. One of:
FREQUENCYBITSCHANNELSSIZE
paramName
)

Returns the float value of the specified buffer parameter.

public static void
alGetBufferf(int bufferName, int paramName, float[] value)

Array version of: GetBufferf

public static void
alGetBufferi(int
the buffer to query
bufferName
,
int
the parameter to query. One of:
FREQUENCYBITSCHANNELSSIZE
paramName
,
IntBuffer
the parameter value
value
)

Returns the integer value of the specified buffer parameter.

public static int
alGetBufferi(int
the buffer to query
bufferName
,
int
the parameter to query. One of:
FREQUENCYBITSCHANNELSSIZE
paramName
)

Returns the integer value of the specified buffer parameter.

public static void
alGetBufferi(int bufferName, int paramName, int[] value)

Array version of: GetBufferi

public static double
alGetDouble(int
the parameter to query. One of:
DOPPLER_FACTORDISTANCE_MODELSPEED_OF_SOUND
paramName
)

Returns the double value of the specified parameter.

public static void
alGetDoublev(int
the parameter to query
paramName
,
DoubleBuffer
a buffer that will receive the parameter values
dest
)

Pointer version of GetDouble.

public static void
alGetDoublev(int paramName, double[] dest)

Array version of: GetDoublev

public static int
alGetEnumValue(ByteBuffer
the enum name
enumName
)

Returns the enumeration value of the specified enum.

public static int
alGetEnumValue(CharSequence
the enum name
enumName
)

Returns the enumeration value of the specified enum.

public static int
alGetError()

Obtains error information.

public static float
alGetFloat(int
the parameter to query. One of:
DOPPLER_FACTORDISTANCE_MODELSPEED_OF_SOUND
paramName
)

Returns the float value of the specified parameter.

public static void
alGetFloatv(int
the parameter to query
paramName
,
FloatBuffer
a buffer that will receive the parameter values
dest
)

Pointer version of GetFloat.

public static void
alGetFloatv(int paramName, float[] dest)

Array version of: GetFloatv

public static int
alGetInteger(int
the parameter to query. One of:
DOPPLER_FACTORDISTANCE_MODELSPEED_OF_SOUND
paramName
)

Returns the integer value of the specified parameter.

public static void
alGetIntegerv(int
the parameter to query
paramName
,
IntBuffer
a buffer that will receive the parameter values
dest
)

Pointer version of GetInteger.

public static void
alGetIntegerv(int paramName, int[] dest)

Array version of: GetIntegerv

public static void
alGetListener3f(int
the parameter to query. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
FloatBuffer
the first parameter value
value1
,
FloatBuffer
the second parameter value
value2
,
FloatBuffer
the third parameter value
value3
)

Returns the 3 dimensional values of a listener parameter.

public static void
alGetListener3f(int paramName, float[] value1, float[] value2, float[] value3)

Array version of: GetListener3f

public static void
alGetListenerf(int
the parameter to query. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
FloatBuffer
the parameter value
value
)

Returns the float value of a listener parameter.

public static float
alGetListenerf(int
the parameter to query. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
)

Returns the float value of a listener parameter.

public static void
alGetListenerf(int paramName, float[] value)

Array version of: GetListenerf

public static void
alGetListenerfv(int
the parameter to query. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
FloatBuffer
the parameter values
values
)

Returns float values of a listener parameter.

public static void
alGetListenerfv(int paramName, float[] values)

Array version of: GetListenerfv

public static void
alGetListeneri(int
the parameter to query. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
IntBuffer
the parameter value
value
)

Returns the integer value of a listener parameter.

public static int
alGetListeneri(int
the parameter to query. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
)

Returns the integer value of a listener parameter.

public static void
alGetListeneri(int paramName, int[] value)

Array version of: GetListeneri

public static long
alGetProcAddress(ByteBuffer
the function name
funcName
)

Retrieves extension entry points.

public static long
alGetProcAddress(CharSequence
the function name
funcName
)

Retrieves extension entry points.

public static void
alGetSource3f(int
the source to query
source
,
int param, FloatBuffer
the first parameter value
v1
,
FloatBuffer
the second parameter value
v2
,
FloatBuffer
the third parameter value
v3
)

Returns the 3 dimensional values of the specified source parameter.

public static void
alGetSource3f(int source, int param, float[] v1, float[] v2, float[] v3)

Array version of: GetSource3f

public static void
alGetSourcef(int
the source to query
source
,
int param, FloatBuffer
the parameter value
value
)

Returns the float value of the specified source parameter.

public static float
alGetSourcef(int
the source to query
source
,
int param)

Returns the float value of the specified source parameter.

public static void
alGetSourcef(int source, int param, float[] value)

Array version of: GetSourcef

public static void
alGetSourcefv(int
the source to query
source
,
int param, FloatBuffer
the parameter values
values
)

Returns the float values of the specified source parameter.

public static void
alGetSourcefv(int source, int param, float[] values)

Array version of: GetSourcefv

public static void
alGetSourcei(int
the source to query
source
,
int param, IntBuffer
the parameter value
value
)

Returns the integer value of the specified source parameter.

public static int
alGetSourcei(int
the source to query
source
,
int param)

Returns the integer value of the specified source parameter.

public static void
alGetSourcei(int source, int param, int[] value)

Array version of: GetSourcei

public static void
alGetSourceiv(int
the source to query
source
,
int param, IntBuffer
the parameter values
values
)

Returns the integer values of the specified source parameter.

public static void
alGetSourceiv(int source, int param, int[] values)

Array version of: GetSourceiv

public static String
alGetString(int
the parameter to query. One of:
VENDORVERSIONRENDEREREXTENSIONS
paramName
)

Returns the string value of the specified parameter

public static boolean
alIsBuffer(int
a value that may be a buffer name
bufferName
)

Verifies whether the specified object name is a buffer name.

public static boolean
alIsEnabled(int
the capability to query
target
)

Queries whether a given capability is currently enabled or not.

public static boolean
alIsExtensionPresent(ByteBuffer
the extension name
extName
)

Verifies that a given extension is available for the current context and the device it is associated with.

public static boolean
alIsExtensionPresent(CharSequence
the extension name
extName
)

Verifies that a given extension is available for the current context and the device it is associated with.

public static boolean
alIsSource(int
a value that may be a source name
sourceName
)

Verifies whether the specified object name is a source name.

public static void
alListener3f(int
the parameter to modify. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
float
the first value
value1
,
float
the second value
value2
,
float
the third value
value3
)

Sets the 3 dimensional float values of a listener parameter.

public static void
alListenerf(int
the parameter to modify. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
float
the parameter value
value
)

Sets the float value of a listener parameter.

public static void
alListenerfv(int
the parameter to modify
paramName
,
FloatBuffer
the parameter values
values
)

Pointer version of Listenerf.

public static void
alListenerfv(int paramName, float[] values)

Array version of: Listenerfv

public static void
alListeneri(int
the parameter to modify. One of:
ORIENTATIONPOSITIONVELOCITYGAIN
paramName
,
int
the parameter value
values
)

Integer version of Listenerf.

public static void
alSource3f(int
the source to modify
source
,
int param, float
the first parameter value
v1
,
float
the second parameter value
v2
,
float
the third parameter value
v3
)

Sets the 3 dimensional values of a source parameter.

public static void
alSourcef(int
the source to modify
source
,
int param, float
the parameter value
value
)

Sets the float value of a source parameter.

public static void
alSourcefv(int
the source to modify
source
,
int
the parameter to modify
param
,
FloatBuffer
the parameter values
values
)

Pointer version of Sourcef.

public static void
alSourcefv(int source, int param, float[] values)

Array version of: Sourcefv

public static void
alSourcei(int
the source to modify
source
,
int
the parameter to modify
param
,
int
the parameter value
value
)

Integer version of Sourcef.

public static void
alSourcePause(int
the source to pause
source
)

Sets the source state to AL_PAUSED.

public static void
alSourcePausev(IntBuffer
the sources to pause
sources
)

Pointer version of SourcePause.

public static void
alSourcePausev(int[] sources)

Array version of: SourcePausev

public static void
alSourcePlay(int
the source to play
source
)

Sets the source state to AL_PLAYING.

public static void
alSourcePlayv(IntBuffer
the sources to play
sources
)

Pointer version of SourcePlay.

public static void
alSourcePlayv(int[] sources)

Array version of: SourcePlayv

public static void
alSourceQueueBuffers(int
the target source
sourceName
,
IntBuffer
the buffer names
bufferNames
)

Queues up one or multiple buffer names to the specified source.

public static void
alSourceQueueBuffers(int
the target source
sourceName
,
int bufferName)

Queues up one or multiple buffer names to the specified source.

public static void
alSourceQueueBuffers(int sourceName, int[] bufferNames)

Array version of: SourceQueueBuffers

public static void
alSourceRewind(int
the source to rewind
source
)

Sets the source state to AL_INITIAL.

public static void
alSourceRewindv(IntBuffer
the sources to rewind
sources
)

Pointer version of SourceRewind.

public static void
alSourceRewindv(int[] sources)

Array version of: SourceRewindv

public static void
alSourceStop(int
the source to stop
source
)

Sets the source state to AL_STOPPED.

public static void
alSourceStopv(IntBuffer
the sources to stop
sources
)

Pointer version of SourceStop.

public static void
alSourceStopv(int[] sources)

Array version of: SourceStopv

public static void
alSourceUnqueueBuffers(int
the target source
sourceName
,
IntBuffer
the buffer names
bufferNames
)

Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.

public static int
alSourceUnqueueBuffers(int
the target source
sourceName
)

Removes a number of buffer entries that have finished processing, in the order of apperance, from the queue of the specified source.

public static void
alSourceUnqueueBuffers(int sourceName, int[] bufferNames)

Array version of: SourceUnqueueBuffers

public static void
nalBufferData(int bufferName, int format, long data, int
the data buffer size, in bytes
size
,
int frequency)

Unsafe version of: BufferData

public static void
nalDeleteBuffers(int
the number of buffers to delete
n
,
long bufferNames)

Unsafe version of: DeleteBuffers

public static void
nalDeleteSources(int
the number of sources to delete
n
,
long sources)

Unsafe version of: DeleteSources

public static void
nalGenBuffers(int
the number of buffer names to generate
n
,
long bufferNames)

Unsafe version of: GenBuffers

public static void
nalGenSources(int
the number of source names to generated
n
,
long srcNames)

Unsafe version of: GenSources

public static void
nalGetBooleanv(int paramName, long dest)

Unsafe version of: GetBooleanv

public static void
nalGetBufferf(int bufferName, int paramName, long value)

Unsafe version of: GetBufferf

public static void
nalGetBufferi(int bufferName, int paramName, long value)

Unsafe version of: GetBufferi

public static void
nalGetDoublev(int paramName, long dest)

Unsafe version of: GetDoublev

public static int
nalGetEnumValue(long enumName)

Unsafe version of: GetEnumValue

public static void
nalGetFloatv(int paramName, long dest)

Unsafe version of: GetFloatv

public static void
nalGetIntegerv(int paramName, long dest)

Unsafe version of: GetIntegerv

public static void
nalGetListener3f(int paramName, long value1, long value2, long value3)

Unsafe version of: GetListener3f

public static void
nalGetListenerf(int paramName, long value)

Unsafe version of: GetListenerf

public static void
nalGetListenerfv(int paramName, long values)

Unsafe version of: GetListenerfv

public static void
nalGetListeneri(int paramName, long value)

Unsafe version of: GetListeneri

public static long
nalGetProcAddress(long funcName)

Unsafe version of: GetProcAddress

public static void
nalGetSource3f(int source, int param, long v1, long v2, long v3)

Unsafe version of: GetSource3f

public static void
nalGetSourcef(int source, int param, long value)

Unsafe version of: GetSourcef

public static void
nalGetSourcefv(int source, int param, long values)

Unsafe version of: GetSourcefv

public static void
nalGetSourcei(int source, int param, long value)

Unsafe version of: GetSourcei

public static void
nalGetSourceiv(int source, int param, long values)

Unsafe version of: GetSourceiv

public static long
nalGetString(int paramName)

Unsafe version of: GetString

public static boolean
nalIsExtensionPresent(long extName)

Unsafe version of: IsExtensionPresent

public static void
nalListenerfv(int paramName, long values)

Unsafe version of: Listenerfv

public static void
nalSourcefv(int source, int param, long values)

Unsafe version of: Sourcefv

public static void
nalSourcePausev(int
the number of sources to pause
n
,
long sources)

Unsafe version of: SourcePausev

public static void
nalSourcePlayv(int
the number of sources to play
n
,
long sources)

Unsafe version of: SourcePlayv

public static void
nalSourceQueueBuffers(int sourceName, int
the number of buffers to queue
numBuffers
,
long bufferNames)

Unsafe version of: SourceQueueBuffers

public static void
nalSourceRewindv(int
the number of sources to rewind
n
,
long sources)

Unsafe version of: SourceRewindv

public static void
nalSourceStopv(int
the number of sources to stop
n
,
long sources)

Unsafe version of: SourceStopv

public static void
nalSourceUnqueueBuffers(int sourceName, int
the number of buffers to unqueue
numEntries
,
long bufferNames)

Unsafe version of: SourceUnqueueBuffers

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait