Class AL10
- Direct Known Subclasses:
AL11
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBuffer attributes,static final intSource attributes.static final intQueue state.static final intQueue state.static final intBuffer attributes,static final intSource attributes.static final intSource attributes.static final intSource attributes.static final intSource attributes.static final intNumerical queries.static final intNumerical queries.static final intString queries.static final intGeneral tokens.static final intBuffer formats.static final intBuffer formats.static final intBuffer formats.static final intBuffer formats.static final intBuffer attributes,static final intListener and Source attributes.static final intSource state.static final intGeneral tokens.static final intError conditions.static final intError conditions.static final intError conditions.static final intError conditions.static final intDistance attenuation models.static final intDistance attenuation models.static final intSource attributes.static final intDistance model attributes,static final intGain bounds.static final intGain bounds.static final intError conditions.static final intGeneral tokens.static final intListener attributes.static final intError conditions.static final intSource state.static final intBuffer state.static final intSource attributes.static final intSource state.static final intListener and Source attributes.static final intBuffer state.static final intDistance model attributes,static final intString queries.static final intDistance model attributes,static final intBuffer attributes,static final intSource types.static final intSource types.static final intSource attributes.static final intSource attributes.static final intSource state.static final intGeneral tokens.static final intBuffer state.static final intListener and Source attributes.static final intString queries.static final intString queries. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidalBufferData(int bufferName, int format, float[] data, int frequency) Array version of:BufferDatastatic voidalBufferData(int bufferName, int format, int[] data, int frequency) Array version of:BufferDatastatic voidalBufferData(int bufferName, int format, short[] data, int frequency) Array version of:BufferDatastatic voidalBufferData(int bufferName, int format, ByteBuffer data, int frequency) Sets the sample data of the specified buffer.static voidalBufferData(int bufferName, int format, FloatBuffer data, int frequency) Sets the sample data of the specified buffer.static voidalBufferData(int bufferName, int format, IntBuffer data, int frequency) Sets the sample data of the specified buffer.static voidalBufferData(int bufferName, int format, ShortBuffer data, int frequency) Sets the sample data of the specified buffer.static voidalDeleteBuffers(int bufferName) Requests the deletion of a number of buffers.static voidalDeleteBuffers(int[] bufferNames) Array version of:DeleteBuffersstatic voidalDeleteBuffers(IntBuffer bufferNames) Requests the deletion of a number of buffers.static voidalDeleteSources(int source) Requests the deletion of a number of sources.static voidalDeleteSources(int[] sources) Array version of:DeleteSourcesstatic voidalDeleteSources(IntBuffer sources) Requests the deletion of a number of sources.static voidalDisable(int target) Disables AL capabilities.static voidalDistanceModel(int modelName) Sets the distance attenuation model.static voidalDopplerFactor(float dopplerFactor) Sets the doppler effect factor.static voidalDopplerVelocity(float dopplerVelocity) Sets the doppler effect propagation velocity.static voidalEnable(int target) Enables AL capabilities.static intRequests a number of buffer names.static voidalGenBuffers(int[] bufferNames) Array version of:GenBuffersstatic voidalGenBuffers(IntBuffer bufferNames) Requests a number of buffer names.static intRequests a number of source names.static voidalGenSources(int[] srcNames) Array version of:GenSourcesstatic voidalGenSources(IntBuffer srcNames) Requests a number of source names.static booleanalGetBoolean(int paramName) Returns the boolean value of the specified parameter.static voidalGetBooleanv(int paramName, ByteBuffer dest) Pointer version ofGetBoolean.static floatalGetBufferf(int bufferName, int paramName) Returns the float value of the specified buffer parameter.static voidalGetBufferf(int bufferName, int paramName, float[] value) Array version of:GetBufferfstatic voidalGetBufferf(int bufferName, int paramName, FloatBuffer value) Returns the float value of the specified buffer parameter.static intalGetBufferi(int bufferName, int paramName) Returns the integer value of the specified buffer parameter.static voidalGetBufferi(int bufferName, int paramName, int[] value) Array version of:GetBufferistatic voidalGetBufferi(int bufferName, int paramName, IntBuffer value) Returns the integer value of the specified buffer parameter.static doublealGetDouble(int paramName) Returns the double value of the specified parameter.static voidalGetDoublev(int paramName, double[] dest) Array version of:GetDoublevstatic voidalGetDoublev(int paramName, DoubleBuffer dest) Pointer version ofGetDouble.static intalGetEnumValue(CharSequence enumName) Returns the enumeration value of the specified enum.static intalGetEnumValue(ByteBuffer enumName) Returns the enumeration value of the specified enum.static intObtains error information.static floatalGetFloat(int paramName) Returns the float value of the specified parameter.static voidalGetFloatv(int paramName, float[] dest) Array version of:GetFloatvstatic voidalGetFloatv(int paramName, FloatBuffer dest) Pointer version ofGetFloat.static intalGetInteger(int paramName) Returns the integer value of the specified parameter.static voidalGetIntegerv(int paramName, int[] dest) Array version of:GetIntegervstatic voidalGetIntegerv(int paramName, IntBuffer dest) Pointer version ofGetInteger.static voidalGetListener3f(int paramName, float[] value1, float[] value2, float[] value3) Array version of:GetListener3fstatic voidalGetListener3f(int paramName, FloatBuffer value1, FloatBuffer value2, FloatBuffer value3) Returns the 3 dimensional values of a listener parameter.static floatalGetListenerf(int paramName) Returns the float value of a listener parameter.static voidalGetListenerf(int paramName, float[] value) Array version of:GetListenerfstatic voidalGetListenerf(int paramName, FloatBuffer value) Returns the float value of a listener parameter.static voidalGetListenerfv(int paramName, float[] values) Array version of:GetListenerfvstatic voidalGetListenerfv(int paramName, FloatBuffer values) Returns float values of a listener parameter.static intalGetListeneri(int paramName) Returns the integer value of a listener parameter.static voidalGetListeneri(int paramName, int[] value) Array version of:GetListeneristatic voidalGetListeneri(int paramName, IntBuffer value) Returns the integer value of a listener parameter.static longalGetProcAddress(CharSequence funcName) Retrieves extension entry points.static longalGetProcAddress(ByteBuffer funcName) Retrieves extension entry points.static voidalGetSource3f(int source, int param, float[] v1, float[] v2, float[] v3) Array version of:GetSource3fstatic voidalGetSource3f(int source, int param, FloatBuffer v1, FloatBuffer v2, FloatBuffer v3) Returns the 3 dimensional values of the specified source parameter.static floatalGetSourcef(int source, int param) Returns the float value of the specified source parameter.static voidalGetSourcef(int source, int param, float[] value) Array version of:GetSourcefstatic voidalGetSourcef(int source, int param, FloatBuffer value) Returns the float value of the specified source parameter.static voidalGetSourcefv(int source, int param, float[] values) Array version of:GetSourcefvstatic voidalGetSourcefv(int source, int param, FloatBuffer values) Returns the float values of the specified source parameter.static intalGetSourcei(int source, int param) Returns the integer value of the specified source parameter.static voidalGetSourcei(int source, int param, int[] value) Array version of:GetSourceistatic voidalGetSourcei(int source, int param, IntBuffer value) Returns the integer value of the specified source parameter.static voidalGetSourceiv(int source, int param, int[] values) Array version of:GetSourceivstatic voidalGetSourceiv(int source, int param, IntBuffer values) Returns the integer values of the specified source parameter.static StringalGetString(int paramName) Returns the string value of the specified parameterstatic booleanalIsBuffer(int bufferName) Verifies whether the specified object name is a buffer name.static booleanalIsEnabled(int target) Queries whether a given capability is currently enabled or not.static booleanalIsExtensionPresent(CharSequence extName) Verifies that a given extension is available for the current context and the device it is associated with.static booleanalIsExtensionPresent(ByteBuffer extName) Verifies that a given extension is available for the current context and the device it is associated with.static booleanalIsSource(int sourceName) Verifies whether the specified object name is a source name.static voidalListener3f(int paramName, float value1, float value2, float value3) Sets the 3 dimensional float values of a listener parameter.static voidalListenerf(int paramName, float value) Sets the float value of a listener parameter.static voidalListenerfv(int paramName, float[] values) Array version of:Listenerfvstatic voidalListenerfv(int paramName, FloatBuffer values) Pointer version ofListenerf.static voidalListeneri(int paramName, int values) Integer version ofListenerf.static voidalSource3f(int source, int param, float v1, float v2, float v3) Sets the 3 dimensional values of a source parameter.static voidalSourcef(int source, int param, float value) Sets the float value of a source parameter.static voidalSourcefv(int source, int param, float[] values) Array version of:Sourcefvstatic voidalSourcefv(int source, int param, FloatBuffer values) Pointer version ofSourcef.static voidalSourcei(int source, int param, int value) Integer version ofSourcef.static voidalSourcePause(int source) Sets the source state to AL_PAUSED.static voidalSourcePausev(int[] sources) Array version of:SourcePausevstatic voidalSourcePausev(IntBuffer sources) Pointer version ofSourcePause.static voidalSourcePlay(int source) Sets the source state to AL_PLAYING.static voidalSourcePlayv(int[] sources) Array version of:SourcePlayvstatic voidalSourcePlayv(IntBuffer sources) Pointer version ofSourcePlay.static voidalSourceQueueBuffers(int sourceName, int bufferName) Queues up one or multiple buffer names to the specified source.static voidalSourceQueueBuffers(int sourceName, int[] bufferNames) Array version of:SourceQueueBuffersstatic voidalSourceQueueBuffers(int sourceName, IntBuffer bufferNames) Queues up one or multiple buffer names to the specified source.static voidalSourceRewind(int source) Sets the source state to AL_INITIAL.static voidalSourceRewindv(int[] sources) Array version of:SourceRewindvstatic voidalSourceRewindv(IntBuffer sources) Pointer version ofSourceRewind.static voidalSourceStop(int source) Sets the source state to AL_STOPPED.static voidalSourceStopv(int[] sources) Array version of:SourceStopvstatic voidalSourceStopv(IntBuffer sources) Pointer version ofSourceStop.static intalSourceUnqueueBuffers(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 voidalSourceUnqueueBuffers(int sourceName, int[] bufferNames) Array version of:SourceUnqueueBuffersstatic voidalSourceUnqueueBuffers(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 voidnalBufferData(int bufferName, int format, long data, int size, int frequency) Unsafe version of:BufferDatastatic voidnalDeleteBuffers(int n, long bufferNames) Unsafe version of:DeleteBuffersstatic voidnalDeleteSources(int n, long sources) Unsafe version of:DeleteSourcesstatic voidnalGenBuffers(int n, long bufferNames) Unsafe version of:GenBuffersstatic voidnalGenSources(int n, long srcNames) Unsafe version of:GenSourcesstatic voidnalGetBooleanv(int paramName, long dest) Unsafe version of:GetBooleanvstatic voidnalGetBufferf(int bufferName, int paramName, long value) Unsafe version of:GetBufferfstatic voidnalGetBufferi(int bufferName, int paramName, long value) Unsafe version of:GetBufferistatic voidnalGetDoublev(int paramName, long dest) Unsafe version of:GetDoublevstatic intnalGetEnumValue(long enumName) Unsafe version of:GetEnumValuestatic voidnalGetFloatv(int paramName, long dest) Unsafe version of:GetFloatvstatic voidnalGetIntegerv(int paramName, long dest) Unsafe version of:GetIntegervstatic voidnalGetListener3f(int paramName, long value1, long value2, long value3) Unsafe version of:GetListener3fstatic voidnalGetListenerf(int paramName, long value) Unsafe version of:GetListenerfstatic voidnalGetListenerfv(int paramName, long values) Unsafe version of:GetListenerfvstatic voidnalGetListeneri(int paramName, long value) Unsafe version of:GetListeneristatic longnalGetProcAddress(long funcName) Unsafe version of:GetProcAddressstatic voidnalGetSource3f(int source, int param, long v1, long v2, long v3) Unsafe version of:GetSource3fstatic voidnalGetSourcef(int source, int param, long value) Unsafe version of:GetSourcefstatic voidnalGetSourcefv(int source, int param, long values) Unsafe version of:GetSourcefvstatic voidnalGetSourcei(int source, int param, long value) Unsafe version of:GetSourceistatic voidnalGetSourceiv(int source, int param, long values) Unsafe version of:GetSourceivstatic longnalGetString(int paramName) Unsafe version of:GetStringstatic booleannalIsExtensionPresent(long extName) Unsafe version of:IsExtensionPresentstatic voidnalListenerfv(int paramName, long values) Unsafe version of:Listenerfvstatic voidnalSourcefv(int source, int param, long values) Unsafe version of:Sourcefvstatic voidnalSourcePausev(int n, long sources) Unsafe version of:SourcePausevstatic voidnalSourcePlayv(int n, long sources) Unsafe version of:SourcePlayvstatic voidnalSourceQueueBuffers(int sourceName, int numBuffers, long bufferNames) Unsafe version of:SourceQueueBuffersstatic voidnalSourceRewindv(int n, long sources) Unsafe version of:SourceRewindvstatic voidnalSourceStopv(int n, long sources) Unsafe version of:SourceStopvstatic voidnalSourceUnqueueBuffers(int sourceName, int numEntries, long bufferNames) Unsafe version of:SourceUnqueueBuffers
-
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.
-
alEnable
public static void alEnable(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
-
alIsEnabled
public static boolean alIsEnabled(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
-
alGetInteger
public static int alGetInteger(int paramName) Returns the integer value of the specified parameter.- Parameters:
paramName- the parameter to query. One of:DOPPLER_FACTORDISTANCE_MODELSPEED_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_FACTORDISTANCE_MODELSPEED_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_FACTORDISTANCE_MODELSPEED_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
-
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
-
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
-
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
-
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:VENDORVERSIONRENDEREREXTENSIONS
-
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_DISTANCEINVERSE_DISTANCE_CLAMPEDLINEAR_DISTANCELINEAR_DISTANCE_CLAMPEDEXPONENT_DISTANCEEXPONENT_DISTANCE_CLAMPEDNONE
-
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
dopplerFactoris 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:ORIENTATIONPOSITIONVELOCITYGAINvalue- the parameter value
-
alListeneri
public static void alListeneri(int paramName, int values) Integer version ofListenerf.- Parameters:
paramName- the parameter to modify. One of:ORIENTATIONPOSITIONVELOCITYGAINvalues- 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:ORIENTATIONPOSITIONVELOCITYGAINvalue1- 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
-
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:ORIENTATIONPOSITIONVELOCITYGAINvalue- 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:ORIENTATIONPOSITIONVELOCITYGAIN
-
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:ORIENTATIONPOSITIONVELOCITYGAINvalue- 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:ORIENTATIONPOSITIONVELOCITYGAIN
-
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:ORIENTATIONPOSITIONVELOCITYGAINvalue1- 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:ORIENTATIONPOSITIONVELOCITYGAINvalues- 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. -
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. -
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
-
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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEvalue- 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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEv1- 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
-
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
-
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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEvalue- 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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEv1- 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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEvalues- 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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEvalue- 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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_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_ANGLECONE_OUTER_ANGLEPITCHDIRECTIONLOOPINGBUFFERSOURCE_STATECONE_OUTER_GAINSOURCE_TYPEPOSITIONVELOCITYGAINREFERENCE_DISTANCEROLLOFF_FACTORMAX_DISTANCEvalues- 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
NULLbuffer (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
NULLbuffer (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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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. -
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. -
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
-
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. -
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. -
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_MONO8FORMAT_MONO16FORMAT_STEREO8FORMAT_STEREO16data- 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_MONO8FORMAT_MONO16FORMAT_STEREO8FORMAT_STEREO16data- 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_MONO8FORMAT_MONO16FORMAT_STEREO8FORMAT_STEREO16data- 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_MONO8FORMAT_MONO16FORMAT_STEREO8FORMAT_STEREO16data- 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
-
nalGetProcAddress
public static long nalGetProcAddress(long funcName) Unsafe version of:GetProcAddress -
alGetProcAddress
Retrieves extension entry points.Returns
NULLif no entry point with the name funcName can be found. Implementations are free to returnNULLif 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
NULLif no entry point with the name funcName can be found. Implementations are free to returnNULLif 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.
extNameis 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.
extNameis 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 -
alGetFloatv
public static void alGetFloatv(int paramName, float[] dest) Array version of:GetFloatv -
alGetDoublev
public static void alGetDoublev(int paramName, double[] dest) Array version of:GetDoublev -
alListenerfv
public static void alListenerfv(int paramName, float[] values) Array version of:Listenerfv -
alGetListenerf
public static void alGetListenerf(int paramName, float[] value) Array version of:GetListenerf -
alGetListeneri
public static void alGetListeneri(int paramName, int[] value) Array version of:GetListeneri -
alGetListener3f
public static void alGetListener3f(int paramName, float[] value1, float[] value2, float[] value3) Array version of:GetListener3f -
alGetListenerfv
public static void alGetListenerfv(int paramName, float[] values) Array version of:GetListenerfv -
alGenSources
public static void alGenSources(int[] srcNames) Array version of:GenSources -
alDeleteSources
public static void alDeleteSources(int[] sources) Array version of:DeleteSources -
alSourcefv
public static void alSourcefv(int source, int param, float[] values) Array version of:Sourcefv -
alGetSourcef
public static void alGetSourcef(int source, int param, float[] value) Array version of:GetSourcef -
alGetSource3f
public static void alGetSource3f(int source, int param, float[] v1, float[] v2, float[] v3) Array version of:GetSource3f -
alGetSourcefv
public static void alGetSourcefv(int source, int param, float[] values) Array version of:GetSourcefv -
alGetSourcei
public static void alGetSourcei(int source, int param, int[] value) Array version of:GetSourcei -
alGetSourceiv
public static void alGetSourceiv(int source, int param, int[] values) Array version of:GetSourceiv -
alSourceQueueBuffers
public static void alSourceQueueBuffers(int sourceName, int[] bufferNames) Array version of:SourceQueueBuffers -
alSourceUnqueueBuffers
public static void alSourceUnqueueBuffers(int sourceName, int[] bufferNames) Array version of:SourceUnqueueBuffers -
alSourcePlayv
public static void alSourcePlayv(int[] sources) Array version of:SourcePlayv -
alSourcePausev
public static void alSourcePausev(int[] sources) Array version of:SourcePausev -
alSourceStopv
public static void alSourceStopv(int[] sources) Array version of:SourceStopv -
alSourceRewindv
public static void alSourceRewindv(int[] sources) Array version of:SourceRewindv -
alGenBuffers
public static void alGenBuffers(int[] bufferNames) Array version of:GenBuffers -
alDeleteBuffers
public static void alDeleteBuffers(int[] bufferNames) Array version of:DeleteBuffers -
alGetBufferf
public static void alGetBufferf(int bufferName, int paramName, float[] value) Array version of:GetBufferf -
alGetBufferi
public static void alGetBufferi(int bufferName, int paramName, int[] value) Array version of:GetBufferi -
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
-