Files
Terrarum/lib/javadoc/lwjgl-javadoc/org/lwjgl/openal/AL10.html
Song Minjae 8e6fc55f46 javadoc for LWJGL
Former-commit-id: c9c053368cf5b7bbaf7aa2aa1a986611c3dad698
Former-commit-id: a9835ae3c2b484bcb5b1ee6fa57504c406c61490
2016-12-26 12:00:28 +09:00

3334 lines
121 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Tue Jul 28 10:50:17 BST 2015 -->
<TITLE>
AL10 (LWJGL API)
</TITLE>
<META NAME="date" CONTENT="2015-07-28">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AL10 (LWJGL API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AL10.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/lwjgl/openal/AL.html" title="class in org.lwjgl.openal"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/lwjgl/openal/AL11.html" title="class in org.lwjgl.openal"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/lwjgl/openal/AL10.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AL10.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.lwjgl.openal</FONT>
<BR>
Class AL10</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.lwjgl.openal.AL10</B>
</PRE>
<HR>
<DL>
<DT><PRE>public final class <B>AL10</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
<br>
This is the core OpenAL class. This class implements
AL.h version 1.0
<p>
<P>
<P>
<DL>
<DT><B>Version:</B></DT>
<DD>$Revision$
$Id$</DD>
<DT><B>Author:</B></DT>
<DD>Brian Matzon <brian@matzon.dk></DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_BITS">AL_BITS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: The number of bits per sample for the
data contained in the buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_BUFFER">AL_BUFFER</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate the buffer to provide sound samples.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_BUFFERS_PROCESSED">AL_BUFFERS_PROCESSED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer Queue params</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_BUFFERS_QUEUED">AL_BUFFERS_QUEUED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer Queue params</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_CHANNEL_MASK">AL_CHANNEL_MASK</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the channel mask.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_CHANNELS">AL_CHANNELS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: The number of channels for the data
contained in the buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_CONE_INNER_ANGLE">AL_CONE_INNER_ANGLE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Directional source, inner cone angle, in degrees
Range: [0-360]
Default: 360</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_CONE_OUTER_ANGLE">AL_CONE_OUTER_ANGLE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Directional source, outer cone angle, in degrees.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_CONE_OUTER_GAIN">AL_CONE_OUTER_GAIN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate the gain (volume amplification) applied.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_DATA">AL_DATA</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This token is a relict of the early OpenAL days and is
no longer supported. Neither the OpenAL spec nor OpenAL Soft define
it.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_DIRECTION">AL_DIRECTION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the current direction as forward vector.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_DISTANCE_MODEL">AL_DISTANCE_MODEL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distance model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_DOPPLER_FACTOR">AL_DOPPLER_FACTOR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Doppler scale.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_DOPPLER_VELOCITY">AL_DOPPLER_VELOCITY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Doppler velocity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_EXTENSIONS">AL_EXTENSIONS</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context strings: Extensions</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FALSE">AL_FALSE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Boolean False</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FORMAT_MONO16">AL_FORMAT_MONO16</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: format specifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FORMAT_MONO8">AL_FORMAT_MONO8</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: format specifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FORMAT_STEREO16">AL_FORMAT_STEREO16</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: format specifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FORMAT_STEREO8">AL_FORMAT_STEREO8</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: format specifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FORMAT_VORBIS_EXT">AL_FORMAT_VORBIS_EXT</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ogg Vorbis format specifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_FREQUENCY">AL_FREQUENCY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: frequency, in units of Hertz [Hz].</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_GAIN">AL_GAIN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate the gain (volume amplification) applied.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INITIAL">AL_INITIAL</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state information</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVALID">AL_INVALID</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bad value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVALID_ENUM">AL_INVALID_ENUM</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Illegal enum passed as an argument to an AL call.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVALID_NAME">AL_INVALID_NAME</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Illegal name passed as an argument to an AL call.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVALID_OPERATION">AL_INVALID_OPERATION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A function was called at inappropriate time,
or in an inappropriate way, causing an illegal state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVALID_VALUE">AL_INVALID_VALUE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Illegal value passed as an argument to an AL call.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVERSE_DISTANCE">AL_INVERSE_DISTANCE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distance model</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_INVERSE_DISTANCE_CLAMPED">AL_INVERSE_DISTANCE_CLAMPED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Distance model</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_LOOPING">AL_LOOPING</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate whether source has to loop infinite.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_MAX_DISTANCE">AL_MAX_DISTANCE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the maximum distance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_MAX_GAIN">AL_MAX_GAIN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate maximum source attenuation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_MIN_GAIN">AL_MIN_GAIN</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate minimum source attenuation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_NO_ERROR">AL_NO_ERROR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Errors: No Error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_NONE">AL_NONE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disable value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_ORIENTATION">AL_ORIENTATION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the current orientation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_OUT_OF_MEMORY">AL_OUT_OF_MEMORY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A function could not be completed,
because there is not enough memory available.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_PAUSED">AL_PAUSED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state information</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_PENDING">AL_PENDING</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_PITCH">AL_PITCH</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the pitch to be applied, either at source,
or on mixer results, at listener.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_PLAYING">AL_PLAYING</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state information</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_POSITION">AL_POSITION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the current location in three dimensional space.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_PROCESSED">AL_PROCESSED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_REFERENCE_DISTANCE">AL_REFERENCE_DISTANCE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the current orientation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_RENDERER">AL_RENDERER</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context strings: Renderer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_ROLLOFF_FACTOR">AL_ROLLOFF_FACTOR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate the rolloff factor for the source.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_SIZE">AL_SIZE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sound buffers: Size in bytes of the buffer data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_SOURCE_ABSOLUTE">AL_SOURCE_ABSOLUTE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate source has absolute coordinates</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_SOURCE_RELATIVE">AL_SOURCE_RELATIVE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate Source has listener relative coordinates</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_SOURCE_STATE">AL_SOURCE_STATE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state information</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_SOURCE_TYPE">AL_SOURCE_TYPE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate the type of SOURCE.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_STOPPED">AL_STOPPED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state information</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_TRUE">AL_TRUE</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Boolean True</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_UNUSED">AL_UNUSED</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_VELOCITY">AL_VELOCITY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the current velocity in three dimensional space.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_VENDOR">AL_VENDOR</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context strings: Vendor</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#AL_VERSION">AL_VERSION</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context strings: Version</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alBufferData(int, int, java.nio.ByteBuffer, int)">alBufferData</A></B>(int&nbsp;buffer,
int&nbsp;format,
java.nio.ByteBuffer&nbsp;data,
int&nbsp;freq)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
A special case of Buffer state is the actual sound sample data stored in asociation
with the Buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alBufferData(int, int, java.nio.IntBuffer, int)">alBufferData</A></B>(int&nbsp;buffer,
int&nbsp;format,
java.nio.IntBuffer&nbsp;data,
int&nbsp;freq)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
A special case of Buffer state is the actual sound sample data stored in asociation
with the Buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alBufferData(int, int, java.nio.ShortBuffer, int)">alBufferData</A></B>(int&nbsp;buffer,
int&nbsp;format,
java.nio.ShortBuffer&nbsp;data,
int&nbsp;freq)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
A special case of Buffer state is the actual sound sample data stored in asociation
with the Buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDeleteBuffers(int)">alDeleteBuffers</A></B>(int&nbsp;buffer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overloads alDeleteBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDeleteBuffers(java.nio.IntBuffer)">alDeleteBuffers</A></B>(java.nio.IntBuffer&nbsp;buffers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
The application requests deletion of a number of Buffers by calling DeleteBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDeleteSources(int)">alDeleteSources</A></B>(int&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overloads alDeleteSources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDeleteSources(java.nio.IntBuffer)">alDeleteSources</A></B>(java.nio.IntBuffer&nbsp;sources)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application requests deletion of a number of Sources by DeleteSources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDisable(int)">alDisable</A></B>(int&nbsp;capability)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application can temporarily disable certain AL capabilities on a per Context
basis.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDistanceModel(int)">alDistanceModel</A></B>(int&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Samples usually use the entire dynamic range of the chosen format/encoding,
independent of their real world intensity.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDopplerFactor(float)">alDopplerFactor</A></B>(float&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Doppler Effect depends on the velocities of Source and Listener relative to the
medium, and the propagation speed of sound in that medium.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alDopplerVelocity(float)">alDopplerVelocity</A></B>(float&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Doppler Effect depends on the velocities of Source and Listener relative to the
medium, and the propagation speed of sound in that medium.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alEnable(int)">alEnable</A></B>(int&nbsp;capability)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application can temporarily disable certain AL capabilities on a per Context
basis.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGenBuffers()">alGenBuffers</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overloads alGenBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGenBuffers(java.nio.IntBuffer)">alGenBuffers</A></B>(java.nio.IntBuffer&nbsp;buffers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application requests a number of Buffers using GenBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGenSources()">alGenSources</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overloads alGenSources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGenSources(java.nio.IntBuffer)">alGenSources</A></B>(java.nio.IntBuffer&nbsp;sources)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application requests a number of Sources using GenSources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetBoolean(int)">alGetBoolean</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetBufferf(int, int)">alGetBufferf</A></B>(int&nbsp;buffer,
int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer state is maintained inside the AL implementation and can be queried in full.<br>
ALC_FREQUENCY - specified in samples per second, i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetBufferi(int, int)">alGetBufferi</A></B>(int&nbsp;buffer,
int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Buffer state is maintained inside the AL implementation and can be queried in full.<br>
ALC_FREQUENCY - specified in samples per second, i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetDouble(int)">alGetDouble</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetDouble(int, java.nio.DoubleBuffer)">alGetDouble</A></B>(int&nbsp;pname,
java.nio.DoubleBuffer&nbsp;data)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetEnumValue(java.lang.String)">alGetEnumValue</A></B>(java.lang.String&nbsp;ename)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
To obtain enumeration values for extensions, the application has to use
GetEnumValue of an extension token.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetError()">alGetError</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The AL detects only a subset of those conditions that could be considered errors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetFloat(int)">alGetFloat</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetFloat(int, java.nio.FloatBuffer)">alGetFloat</A></B>(int&nbsp;pname,
java.nio.FloatBuffer&nbsp;data)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetInteger(int)">alGetInteger</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetInteger(int, java.nio.IntBuffer)">alGetInteger</A></B>(int&nbsp;pname,
java.nio.IntBuffer&nbsp;data)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Like OpenGL, AL uses a simplified interface for querying global state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetListener(int, java.nio.FloatBuffer)">alGetListener</A></B>(int&nbsp;pname,
java.nio.FloatBuffer&nbsp;floatdata)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener state is maintained inside the AL implementation and can be queried in
full.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetListenerf(int)">alGetListenerf</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener state is maintained inside the AL implementation and can be queried in
full.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetListeneri(int)">alGetListeneri</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener state is maintained inside the AL implementation and can be queried in
full.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetSource(int, int, java.nio.FloatBuffer)">alGetSource</A></B>(int&nbsp;source,
int&nbsp;pname,
java.nio.FloatBuffer&nbsp;floatdata)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state is maintained inside the AL implementation, and the current attributes
can be queried.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetSourcef(int, int)">alGetSourcef</A></B>(int&nbsp;source,
int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state is maintained inside the AL implementation, and the current attributes
can be queried.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetSourcei(int, int)">alGetSourcei</A></B>(int&nbsp;source,
int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Source state is maintained inside the AL implementation, and the current attributes
can be queried.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alGetString(int)">alGetString</A></B>(int&nbsp;pname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application can retrieve state information global to the current AL Context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alIsBuffer(int)">alIsBuffer</A></B>(int&nbsp;buffer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application can verify whether a buffer Name is valid using the IsBuffer query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alIsEnabled(int)">alIsEnabled</A></B>(int&nbsp;capability)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application can also query whether a given capability is currently enabled or
not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alIsExtensionPresent(java.lang.String)">alIsExtensionPresent</A></B>(java.lang.String&nbsp;fname)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To verify that a given extension is available for the current context and the device it
is associated with, use this method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alIsSource(int)">alIsSource</A></B>(int&nbsp;id)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The application can verify whether a source name is valid using the IsSource query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alListener(int, java.nio.FloatBuffer)">alListener</A></B>(int&nbsp;pname,
java.nio.FloatBuffer&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener attributes are changed using the Listener group of commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alListener3f(int, float, float, float)">alListener3f</A></B>(int&nbsp;pname,
float&nbsp;v1,
float&nbsp;v2,
float&nbsp;v3)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener attributes are changed using the Listener group of commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alListenerf(int, float)">alListenerf</A></B>(int&nbsp;pname,
float&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener attributes are changed using the Listener group of commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alListeneri(int, int)">alListeneri</A></B>(int&nbsp;pname,
int&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Listener attributes are changed using the Listener group of commands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSource(int, int, java.nio.FloatBuffer)">alSource</A></B>(int&nbsp;source,
int&nbsp;pname,
java.nio.FloatBuffer&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the position and other properties as taken into account during
sound processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSource3f(int, int, float, float, float)">alSource3f</A></B>(int&nbsp;source,
int&nbsp;pname,
float&nbsp;v1,
float&nbsp;v2,
float&nbsp;v3)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the position and other properties as taken into account during
sound processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourcef(int, int, float)">alSourcef</A></B>(int&nbsp;source,
int&nbsp;pname,
float&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the position and other properties as taken into account during
sound processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourcei(int, int, int)">alSourcei</A></B>(int&nbsp;source,
int&nbsp;pname,
int&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the position and other properties as taken into account during
sound processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourcePause(int)">alSourcePause</A></B>(int&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pause() applied to an AL_INITIAL Source is a legal NOP.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourcePause(java.nio.IntBuffer)">alSourcePause</A></B>(java.nio.IntBuffer&nbsp;sources)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pause() applied to an AL_INITIAL Source is a legal NOP.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourcePlay(int)">alSourcePlay</A></B>(int&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Play() 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.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourcePlay(java.nio.IntBuffer)">alSourcePlay</A></B>(java.nio.IntBuffer&nbsp;sources)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Play() 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.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceQueueBuffers(int, int)">alSourceQueueBuffers</A></B>(int&nbsp;source,
int&nbsp;buffer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overloads alSourceQueueBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceQueueBuffers(int, java.nio.IntBuffer)">alSourceQueueBuffers</A></B>(int&nbsp;source,
java.nio.IntBuffer&nbsp;buffers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
The application can queue up one or multiple buffer names using
SourceQueueBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceRewind(int)">alSourceRewind</A></B>(int&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rewind() applied to an AL_INITIAL Source is a legal NOP.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceRewind(java.nio.IntBuffer)">alSourceRewind</A></B>(java.nio.IntBuffer&nbsp;sources)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rewind() applied to an AL_INITIAL Source is a legal NOP.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceStop(int)">alSourceStop</A></B>(int&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop() applied to an AL_INITIAL Source is a legal NOP.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceStop(java.nio.IntBuffer)">alSourceStop</A></B>(java.nio.IntBuffer&nbsp;sources)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stop() applied to an AL_INITIAL Source is a legal NOP.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceUnqueueBuffers(int)">alSourceUnqueueBuffers</A></B>(int&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overloads alSourceUnqueueBuffers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/lwjgl/openal/AL10.html#alSourceUnqueueBuffers(int, java.nio.IntBuffer)">alSourceUnqueueBuffers</A></B>(int&nbsp;source,
java.nio.IntBuffer&nbsp;buffers)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Once a queue entry for a buffer has been appended to a queue and is pending
processing, it should not be changed.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="AL_INVALID"><!-- --></A><H3>
AL_INVALID</H3>
<PRE>
public static final int <B>AL_INVALID</B></PRE>
<DL>
<DD>Bad value
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVALID">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_NONE"><!-- --></A><H3>
AL_NONE</H3>
<PRE>
public static final int <B>AL_NONE</B></PRE>
<DL>
<DD>Disable value
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_NONE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FALSE"><!-- --></A><H3>
AL_FALSE</H3>
<PRE>
public static final int <B>AL_FALSE</B></PRE>
<DL>
<DD>Boolean False
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FALSE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_TRUE"><!-- --></A><H3>
AL_TRUE</H3>
<PRE>
public static final int <B>AL_TRUE</B></PRE>
<DL>
<DD>Boolean True
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_TRUE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_SOURCE_TYPE"><!-- --></A><H3>
AL_SOURCE_TYPE</H3>
<PRE>
public static final int <B>AL_SOURCE_TYPE</B></PRE>
<DL>
<DD>Indicate the type of SOURCE.
Sources can be spatialized
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_SOURCE_TYPE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_SOURCE_ABSOLUTE"><!-- --></A><H3>
AL_SOURCE_ABSOLUTE</H3>
<PRE>
public static final int <B>AL_SOURCE_ABSOLUTE</B></PRE>
<DL>
<DD>Indicate source has absolute coordinates
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_SOURCE_ABSOLUTE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_SOURCE_RELATIVE"><!-- --></A><H3>
AL_SOURCE_RELATIVE</H3>
<PRE>
public static final int <B>AL_SOURCE_RELATIVE</B></PRE>
<DL>
<DD>Indicate Source has listener relative coordinates
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_SOURCE_RELATIVE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_CONE_INNER_ANGLE"><!-- --></A><H3>
AL_CONE_INNER_ANGLE</H3>
<PRE>
public static final int <B>AL_CONE_INNER_ANGLE</B></PRE>
<DL>
<DD>Directional source, inner cone angle, in degrees
Range: [0-360]
Default: 360
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_CONE_INNER_ANGLE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_CONE_OUTER_ANGLE"><!-- --></A><H3>
AL_CONE_OUTER_ANGLE</H3>
<PRE>
public static final int <B>AL_CONE_OUTER_ANGLE</B></PRE>
<DL>
<DD>Directional source, outer cone angle, in degrees.
Range: [0-360]
Default: 360
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_CONE_OUTER_ANGLE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_PITCH"><!-- --></A><H3>
AL_PITCH</H3>
<PRE>
public static final int <B>AL_PITCH</B></PRE>
<DL>
<DD>Specify the pitch to be applied, either at source,
or on mixer results, at listener.
Range: [0.5-2.0]
Default: 1.0
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_PITCH">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_POSITION"><!-- --></A><H3>
AL_POSITION</H3>
<PRE>
public static final int <B>AL_POSITION</B></PRE>
<DL>
<DD>Specify the current location in three dimensional space.
OpenAL, like OpenGL, uses a right handed coordinate system,
where in a frontal default view X (thumb) points right,
Y points up (index finger), and Z points towards the
viewer/camera (middle finger).
To switch from a left handed coordinate system, flip the
sign on the Z coordinate.
Listener position is always in the world coordinate system.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_POSITION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_DIRECTION"><!-- --></A><H3>
AL_DIRECTION</H3>
<PRE>
public static final int <B>AL_DIRECTION</B></PRE>
<DL>
<DD>Specify the current direction as forward vector.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_DIRECTION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_VELOCITY"><!-- --></A><H3>
AL_VELOCITY</H3>
<PRE>
public static final int <B>AL_VELOCITY</B></PRE>
<DL>
<DD>Specify the current velocity in three dimensional space.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_VELOCITY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_LOOPING"><!-- --></A><H3>
AL_LOOPING</H3>
<PRE>
public static final int <B>AL_LOOPING</B></PRE>
<DL>
<DD>Indicate whether source has to loop infinite.
Type: ALboolean
Range: [TRUE, FALSE]
Default: FALSE
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_LOOPING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_BUFFER"><!-- --></A><H3>
AL_BUFFER</H3>
<PRE>
public static final int <B>AL_BUFFER</B></PRE>
<DL>
<DD>Indicate the buffer to provide sound samples.
Type: ALuint.
Range: any valid Buffer id.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_BUFFER">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_GAIN"><!-- --></A><H3>
AL_GAIN</H3>
<PRE>
public static final int <B>AL_GAIN</B></PRE>
<DL>
<DD>Indicate the gain (volume amplification) applied.
Type: ALfloat.
Range: ]0.0- ]
A value of 1.0 means un-attenuated/unchanged.
Each division by 2 equals an attenuation of -6dB.
Each multiplicaton with 2 equals an amplification of +6dB.
A value of 0.0 is meaningless with respect to a logarithmic
scale; it is interpreted as zero volume - the channel
is effectively disabled.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_GAIN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_MIN_GAIN"><!-- --></A><H3>
AL_MIN_GAIN</H3>
<PRE>
public static final int <B>AL_MIN_GAIN</B></PRE>
<DL>
<DD>Indicate minimum source attenuation.
Type: ALfloat
Range: [0.0 - 1.0]
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_MIN_GAIN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_MAX_GAIN"><!-- --></A><H3>
AL_MAX_GAIN</H3>
<PRE>
public static final int <B>AL_MAX_GAIN</B></PRE>
<DL>
<DD>Indicate maximum source attenuation.
Type: ALfloat
Range: [0.0 - 1.0]
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_MAX_GAIN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_ORIENTATION"><!-- --></A><H3>
AL_ORIENTATION</H3>
<PRE>
public static final int <B>AL_ORIENTATION</B></PRE>
<DL>
<DD>Specify the current orientation.
Type: ALfv6 (at/up)
Range: N/A
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_ORIENTATION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_REFERENCE_DISTANCE"><!-- --></A><H3>
AL_REFERENCE_DISTANCE</H3>
<PRE>
public static final int <B>AL_REFERENCE_DISTANCE</B></PRE>
<DL>
<DD>Specify the current orientation.
Type: ALfv6 (at/up)
Range: N/A
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_REFERENCE_DISTANCE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_ROLLOFF_FACTOR"><!-- --></A><H3>
AL_ROLLOFF_FACTOR</H3>
<PRE>
public static final int <B>AL_ROLLOFF_FACTOR</B></PRE>
<DL>
<DD>Indicate the rolloff factor for the source.
Type: ALfloat
Range: [0.0 - ]
Default: 1.0
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_ROLLOFF_FACTOR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_CONE_OUTER_GAIN"><!-- --></A><H3>
AL_CONE_OUTER_GAIN</H3>
<PRE>
public static final int <B>AL_CONE_OUTER_GAIN</B></PRE>
<DL>
<DD>Indicate the gain (volume amplification) applied.
Type: ALfloat.
Range: ]0.0- ]
A value of 1.0 means un-attenuated/unchanged.
Each division by 2 equals an attenuation of -6dB.
Each multiplicaton with 2 equals an amplification of +6dB.
A value of 0.0 is meaningless with respect to a logarithmic
scale; it is interpreted as zero volume - the channel
is effectively disabled.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_CONE_OUTER_GAIN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_MAX_DISTANCE"><!-- --></A><H3>
AL_MAX_DISTANCE</H3>
<PRE>
public static final int <B>AL_MAX_DISTANCE</B></PRE>
<DL>
<DD>Specify the maximum distance.
Type: ALfloat
Range: [0.0 - ]
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_MAX_DISTANCE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_CHANNEL_MASK"><!-- --></A><H3>
AL_CHANNEL_MASK</H3>
<PRE>
public static final int <B>AL_CHANNEL_MASK</B></PRE>
<DL>
<DD>Specify the channel mask. (Creative)
Type: ALuint
Range: [0 - 255]
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_CHANNEL_MASK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_SOURCE_STATE"><!-- --></A><H3>
AL_SOURCE_STATE</H3>
<PRE>
public static final int <B>AL_SOURCE_STATE</B></PRE>
<DL>
<DD>Source state information
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_SOURCE_STATE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INITIAL"><!-- --></A><H3>
AL_INITIAL</H3>
<PRE>
public static final int <B>AL_INITIAL</B></PRE>
<DL>
<DD>Source state information
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INITIAL">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_PLAYING"><!-- --></A><H3>
AL_PLAYING</H3>
<PRE>
public static final int <B>AL_PLAYING</B></PRE>
<DL>
<DD>Source state information
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_PLAYING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_PAUSED"><!-- --></A><H3>
AL_PAUSED</H3>
<PRE>
public static final int <B>AL_PAUSED</B></PRE>
<DL>
<DD>Source state information
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_PAUSED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_STOPPED"><!-- --></A><H3>
AL_STOPPED</H3>
<PRE>
public static final int <B>AL_STOPPED</B></PRE>
<DL>
<DD>Source state information
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_STOPPED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_BUFFERS_QUEUED"><!-- --></A><H3>
AL_BUFFERS_QUEUED</H3>
<PRE>
public static final int <B>AL_BUFFERS_QUEUED</B></PRE>
<DL>
<DD>Buffer Queue params
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_BUFFERS_QUEUED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_BUFFERS_PROCESSED"><!-- --></A><H3>
AL_BUFFERS_PROCESSED</H3>
<PRE>
public static final int <B>AL_BUFFERS_PROCESSED</B></PRE>
<DL>
<DD>Buffer Queue params
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_BUFFERS_PROCESSED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FORMAT_MONO8"><!-- --></A><H3>
AL_FORMAT_MONO8</H3>
<PRE>
public static final int <B>AL_FORMAT_MONO8</B></PRE>
<DL>
<DD>Sound buffers: format specifier.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FORMAT_MONO8">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FORMAT_MONO16"><!-- --></A><H3>
AL_FORMAT_MONO16</H3>
<PRE>
public static final int <B>AL_FORMAT_MONO16</B></PRE>
<DL>
<DD>Sound buffers: format specifier.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FORMAT_MONO16">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FORMAT_STEREO8"><!-- --></A><H3>
AL_FORMAT_STEREO8</H3>
<PRE>
public static final int <B>AL_FORMAT_STEREO8</B></PRE>
<DL>
<DD>Sound buffers: format specifier.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FORMAT_STEREO8">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FORMAT_STEREO16"><!-- --></A><H3>
AL_FORMAT_STEREO16</H3>
<PRE>
public static final int <B>AL_FORMAT_STEREO16</B></PRE>
<DL>
<DD>Sound buffers: format specifier.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FORMAT_STEREO16">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FORMAT_VORBIS_EXT"><!-- --></A><H3>
AL_FORMAT_VORBIS_EXT</H3>
<PRE>
public static final int <B>AL_FORMAT_VORBIS_EXT</B></PRE>
<DL>
<DD>Ogg Vorbis format specifier.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FORMAT_VORBIS_EXT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_FREQUENCY"><!-- --></A><H3>
AL_FREQUENCY</H3>
<PRE>
public static final int <B>AL_FREQUENCY</B></PRE>
<DL>
<DD>Sound buffers: frequency, in units of Hertz [Hz].
This is the number of samples per second. Half of the
sample frequency marks the maximum significant
frequency component.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_FREQUENCY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_BITS"><!-- --></A><H3>
AL_BITS</H3>
<PRE>
public static final int <B>AL_BITS</B></PRE>
<DL>
<DD>Sound buffers: The number of bits per sample for the
data contained in the buffer.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_BITS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_CHANNELS"><!-- --></A><H3>
AL_CHANNELS</H3>
<PRE>
public static final int <B>AL_CHANNELS</B></PRE>
<DL>
<DD>Sound buffers: The number of channels for the data
contained in the buffer.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_CHANNELS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_SIZE"><!-- --></A><H3>
AL_SIZE</H3>
<PRE>
public static final int <B>AL_SIZE</B></PRE>
<DL>
<DD>Sound buffers: Size in bytes of the buffer data.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_SIZE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_DATA"><!-- --></A><H3>
AL_DATA</H3>
<PRE>
public static final int <B>AL_DATA</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>This token is a relict of the early OpenAL days and is
no longer supported. Neither the OpenAL spec nor OpenAL Soft define
it.</I><DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_DATA">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_UNUSED"><!-- --></A><H3>
AL_UNUSED</H3>
<PRE>
public static final int <B>AL_UNUSED</B></PRE>
<DL>
<DD>Buffer state.
<p>
Not supported for public use (yet).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_UNUSED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_PENDING"><!-- --></A><H3>
AL_PENDING</H3>
<PRE>
public static final int <B>AL_PENDING</B></PRE>
<DL>
<DD>Buffer state.
<p>
Not supported for public use (yet).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_PENDING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_PROCESSED"><!-- --></A><H3>
AL_PROCESSED</H3>
<PRE>
public static final int <B>AL_PROCESSED</B></PRE>
<DL>
<DD>Buffer state.
<p>
Not supported for public use (yet).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_PROCESSED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_NO_ERROR"><!-- --></A><H3>
AL_NO_ERROR</H3>
<PRE>
public static final int <B>AL_NO_ERROR</B></PRE>
<DL>
<DD>Errors: No Error.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_NO_ERROR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INVALID_NAME"><!-- --></A><H3>
AL_INVALID_NAME</H3>
<PRE>
public static final int <B>AL_INVALID_NAME</B></PRE>
<DL>
<DD>Illegal name passed as an argument to an AL call.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVALID_NAME">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INVALID_ENUM"><!-- --></A><H3>
AL_INVALID_ENUM</H3>
<PRE>
public static final int <B>AL_INVALID_ENUM</B></PRE>
<DL>
<DD>Illegal enum passed as an argument to an AL call.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVALID_ENUM">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INVALID_VALUE"><!-- --></A><H3>
AL_INVALID_VALUE</H3>
<PRE>
public static final int <B>AL_INVALID_VALUE</B></PRE>
<DL>
<DD>Illegal value passed as an argument to an AL call.
Applies to parameter values, but not to enumerations.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVALID_VALUE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INVALID_OPERATION"><!-- --></A><H3>
AL_INVALID_OPERATION</H3>
<PRE>
public static final int <B>AL_INVALID_OPERATION</B></PRE>
<DL>
<DD>A function was called at inappropriate time,
or in an inappropriate way, causing an illegal state.
This can be an incompatible ALenum, object ID,
and/or function.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVALID_OPERATION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_OUT_OF_MEMORY"><!-- --></A><H3>
AL_OUT_OF_MEMORY</H3>
<PRE>
public static final int <B>AL_OUT_OF_MEMORY</B></PRE>
<DL>
<DD>A function could not be completed,
because there is not enough memory available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_OUT_OF_MEMORY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_VENDOR"><!-- --></A><H3>
AL_VENDOR</H3>
<PRE>
public static final int <B>AL_VENDOR</B></PRE>
<DL>
<DD>Context strings: Vendor
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_VENDOR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_VERSION"><!-- --></A><H3>
AL_VERSION</H3>
<PRE>
public static final int <B>AL_VERSION</B></PRE>
<DL>
<DD>Context strings: Version
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_VERSION">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_RENDERER"><!-- --></A><H3>
AL_RENDERER</H3>
<PRE>
public static final int <B>AL_RENDERER</B></PRE>
<DL>
<DD>Context strings: Renderer
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_RENDERER">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_EXTENSIONS"><!-- --></A><H3>
AL_EXTENSIONS</H3>
<PRE>
public static final int <B>AL_EXTENSIONS</B></PRE>
<DL>
<DD>Context strings: Extensions
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_EXTENSIONS">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_DOPPLER_FACTOR"><!-- --></A><H3>
AL_DOPPLER_FACTOR</H3>
<PRE>
public static final int <B>AL_DOPPLER_FACTOR</B></PRE>
<DL>
<DD>Doppler scale. Default 1.0
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_DOPPLER_FACTOR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_DOPPLER_VELOCITY"><!-- --></A><H3>
AL_DOPPLER_VELOCITY</H3>
<PRE>
public static final int <B>AL_DOPPLER_VELOCITY</B></PRE>
<DL>
<DD>Doppler velocity. Default 1.0
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_DOPPLER_VELOCITY">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_DISTANCE_MODEL"><!-- --></A><H3>
AL_DISTANCE_MODEL</H3>
<PRE>
public static final int <B>AL_DISTANCE_MODEL</B></PRE>
<DL>
<DD>Distance model. Default INVERSE_DISTANCE_CLAMPED
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_DISTANCE_MODEL">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INVERSE_DISTANCE"><!-- --></A><H3>
AL_INVERSE_DISTANCE</H3>
<PRE>
public static final int <B>AL_INVERSE_DISTANCE</B></PRE>
<DL>
<DD>Distance model
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVERSE_DISTANCE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="AL_INVERSE_DISTANCE_CLAMPED"><!-- --></A><H3>
AL_INVERSE_DISTANCE_CLAMPED</H3>
<PRE>
public static final int <B>AL_INVERSE_DISTANCE_CLAMPED</B></PRE>
<DL>
<DD>Distance model
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.lwjgl.openal.AL10.AL_INVERSE_DISTANCE_CLAMPED">Constant Field Values</A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="alEnable(int)"><!-- --></A><H3>
alEnable</H3>
<PRE>
public static void <B>alEnable</B>(int&nbsp;capability)</PRE>
<DL>
<DD>The application can temporarily disable certain AL capabilities on a per Context
basis. This allows the driver implementation to optimize for certain subsets of
operations. Enabling and disabling capabilities is handled using a function pair.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>capability</CODE> - name of a capability to enable</DL>
</DD>
</DL>
<HR>
<A NAME="alDisable(int)"><!-- --></A><H3>
alDisable</H3>
<PRE>
public static void <B>alDisable</B>(int&nbsp;capability)</PRE>
<DL>
<DD>The application can temporarily disable certain AL capabilities on a per Context
basis. This allows the driver implementation to optimize for certain subsets of
operations. Enabling and disabling capabilities is handled using a function pair.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>capability</CODE> - name of a capability to disable</DL>
</DD>
</DL>
<HR>
<A NAME="alIsEnabled(int)"><!-- --></A><H3>
alIsEnabled</H3>
<PRE>
public static boolean <B>alIsEnabled</B>(int&nbsp;capability)</PRE>
<DL>
<DD>The application can also query whether a given capability is currently enabled or
not.
<p>
If the token used to specify target is not legal, an AL_INVALID_ENUM error will be
generated.
</p>
<p>
At this time, this mechanism is not used. There are no valid targets.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>capability</CODE> - name of a capability to check
<DT><B>Returns:</B><DD>true if named feature is enabled</DL>
</DD>
</DL>
<HR>
<A NAME="alGetBoolean(int)"><!-- --></A><H3>
alGetBoolean</H3>
<PRE>
public static boolean <B>alGetBoolean</B>(int&nbsp;pname)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>boolean state described by pname will be returned.</DL>
</DD>
</DL>
<HR>
<A NAME="alGetInteger(int)"><!-- --></A><H3>
alGetInteger</H3>
<PRE>
public static int <B>alGetInteger</B>(int&nbsp;pname)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>int state described by pname will be returned.</DL>
</DD>
</DL>
<HR>
<A NAME="alGetFloat(int)"><!-- --></A><H3>
alGetFloat</H3>
<PRE>
public static float <B>alGetFloat</B>(int&nbsp;pname)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>float state described by pname will be returned.</DL>
</DD>
</DL>
<HR>
<A NAME="alGetDouble(int)"><!-- --></A><H3>
alGetDouble</H3>
<PRE>
public static double <B>alGetDouble</B>(int&nbsp;pname)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>double state described by pname will be returned.</DL>
</DD>
</DL>
<HR>
<A NAME="alGetInteger(int, java.nio.IntBuffer)"><!-- --></A><H3>
alGetInteger</H3>
<PRE>
public static void <B>alGetInteger</B>(int&nbsp;pname,
java.nio.IntBuffer&nbsp;data)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - state to be queried<DD><CODE>data</CODE> - Buffer to place the integers in</DL>
</DD>
</DL>
<HR>
<A NAME="alGetFloat(int, java.nio.FloatBuffer)"><!-- --></A><H3>
alGetFloat</H3>
<PRE>
public static void <B>alGetFloat</B>(int&nbsp;pname,
java.nio.FloatBuffer&nbsp;data)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - state to be queried<DD><CODE>data</CODE> - Buffer to place the floats in</DL>
</DD>
</DL>
<HR>
<A NAME="alGetDouble(int, java.nio.DoubleBuffer)"><!-- --></A><H3>
alGetDouble</H3>
<PRE>
public static void <B>alGetDouble</B>(int&nbsp;pname,
java.nio.DoubleBuffer&nbsp;data)</PRE>
<DL>
<DD>Like OpenGL, AL uses a simplified interface for querying global state.
<p>
Legal values are e.g. AL_DOPPLER_FACTOR, AL_DOPPLER_VELOCITY,
AL_DISTANCE_MODEL.
<p>
<code>null</code> destinations are quietly ignored. AL_INVALID_ENUM is the response to errors
in specifying pName. The amount of memory required in the destination
depends on the actual state requested.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - state to be queried<DD><CODE>data</CODE> - Buffer to place the doubles in</DL>
</DD>
</DL>
<HR>
<A NAME="alGetString(int)"><!-- --></A><H3>
alGetString</H3>
<PRE>
public static java.lang.String <B>alGetString</B>(int&nbsp;pname)</PRE>
<DL>
<DD>The application can retrieve state information global to the current AL Context.
GetString will return a pointer to a constant string. Valid values for param are
VERSION, RENDERER, VENDOR, and EXTENSIONS, as well as the error codes
defined by AL. The application can use GetString to retrieve a string for an error
code.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - The property to be returned
<DT><B>Returns:</B><DD>OpenAL String property</DL>
</DD>
</DL>
<HR>
<A NAME="alGetError()"><!-- --></A><H3>
alGetError</H3>
<PRE>
public static int <B>alGetError</B>()</PRE>
<DL>
<DD>The AL detects only a subset of those conditions that could be considered errors.
This is because in many cases error checking would adversely impact the
performance of an error-free program.
<p>
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 GetError 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 GetError returns AL_NO_ERROR then there has been no
detectable error since the last call to GetError (or since the AL was initialized).
</p>
<p>
Error codes can be mapped to strings. The GetString 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.
</p>
<p>
AL_NO_ERROR - "No Error" token.<br>
AL_INVALID_NAME - Invalid Name parameter.<br>
AL_INVALID_ENUM - Invalid parameter.<br>
AL_INVALID_VALUE - Invalid enum parameter value.<br>
AL_INVALID_OPERATION - Illegal call.<br>
AL_OUT_OF_MEMORY - Unable to allocate memory.<br>
</p>
<p>
The table summarizes the AL errors. Currently, when an error flag is set, results of
AL operations are undefined only if AL_OUT_OF_MEMORY has occured. In other
cases, the command generating the error is ignored so that it has no effect on AL
state or output buffer contents. If the error generating command returns a value, it
returns zero. If the generating command modifies values through a pointer
argument, no change is made to these values. These error semantics apply only to
AL errors, not to system errors such as memory access errors.
</p>
<p>
Several error generation conditions are implicit in the description of the various AL
commands. First, if a command that requires an enumerated value is passed a value
that is not one of those specified as allowable for that command, the error
AL_INVALID_ENUM results. This is the case even if the argument is a pointer to a
symbolic constant if that value is not allowable for the given command. This will
occur whether the value is allowable for other functions, or an invalid integer value.
</p>
<p>
Integer parameters that are used as names for AL objects such as Buffers and
Sources are checked for validity. If an invalid name parameter is specified in an AL
command, an AL_INVALID_NAME error will be generated, and the command is
ignored.
</p>
<p>
If a negative integer is provided where an argument of type sizei is specified, the
error AL_INVALID_VALUE results. The same error will result from attempts to set
integral and floating point values for attributes exceeding the legal range for these.
The specification does not guarantee that the implementation emits
AL_INVALID_VALUE if a NaN or Infinity value is passed in for a float or double
argument (as the specification does not enforce possibly expensive testing of
floating point values).
</p>
<p>
Commands can be invalid. For example, certain commands might not be applicable
to a given object. There are also illegal combinations of tokens and values as
arguments to a command. AL responds to any such illegal command with an
AL_INVALID_OPERATION error.
</p>
<p>
If memory is exhausted as a side effect of the execution of an AL command, either
on system level or by exhausting the allocated resources at AL's internal disposal,
the error AL_OUT_OF_MEMORY may be generated. This can also happen independent
of recent commands if AL has to request memory for an internal task and fails to
allocate the required memory from the operating system.
</p>
<p>
Otherwise errors are generated only for conditions that are explicitely described in
this specification.
</p>
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>current error state</DL>
</DD>
</DL>
<HR>
<A NAME="alIsExtensionPresent(java.lang.String)"><!-- --></A><H3>
alIsExtensionPresent</H3>
<PRE>
public static boolean <B>alIsExtensionPresent</B>(java.lang.String&nbsp;fname)</PRE>
<DL>
<DD>To verify that a given extension is available for the current context and the device it
is associated with, use this method.
<p>
A <code>null</code> name argument returns AL_FALSE, as do invalid and unsupported string
tokens. A <code>null</code> deviceHandle will result in an INVALID_DEVICE error.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fname</CODE> - String describing the desired extension
<DT><B>Returns:</B><DD>true if extension is available, false if not</DL>
</DD>
</DL>
<HR>
<A NAME="alGetEnumValue(java.lang.String)"><!-- --></A><H3>
alGetEnumValue</H3>
<PRE>
public static int <B>alGetEnumValue</B>(java.lang.String&nbsp;ename)</PRE>
<DL>
<DD><p>
To obtain enumeration values for extensions, the application has to use
GetEnumValue of an extension token. Enumeration values are defined within the
AL namespace and allocated according to specification of the core API and the
extensions, thus they are context-independent.
</p>
<p>
Returns 0 if the enumeration can not be found. The presence of an enum value does
not guarantee the applicability of an extension to the current context. A non-zero
return indicates merely that the implementation is aware of the existence of this
extension. Implementations should not attempt to return 0 to indicate that the
extensions is not supported for the current context.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ename</CODE> - String describing an OpenAL enum
<DT><B>Returns:</B><DD>Actual int for the described enumeration name</DL>
</DD>
</DL>
<HR>
<A NAME="alListeneri(int, int)"><!-- --></A><H3>
alListeneri</H3>
<PRE>
public static void <B>alListeneri</B>(int&nbsp;pname,
int&nbsp;value)</PRE>
<DL>
<DD>Listener attributes are changed using the Listener group of commands.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be set<DD><CODE>value</CODE> - value to set the attribute to</DL>
</DD>
</DL>
<HR>
<A NAME="alListenerf(int, float)"><!-- --></A><H3>
alListenerf</H3>
<PRE>
public static void <B>alListenerf</B>(int&nbsp;pname,
float&nbsp;value)</PRE>
<DL>
<DD>Listener attributes are changed using the Listener group of commands.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be set<DD><CODE>value</CODE> - floating point value to set the attribute to</DL>
</DD>
</DL>
<HR>
<A NAME="alListener(int, java.nio.FloatBuffer)"><!-- --></A><H3>
alListener</H3>
<PRE>
public static void <B>alListener</B>(int&nbsp;pname,
java.nio.FloatBuffer&nbsp;value)</PRE>
<DL>
<DD>Listener attributes are changed using the Listener group of commands.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be set<DD><CODE>value</CODE> - FloatBuffer containing value to set the attribute to</DL>
</DD>
</DL>
<HR>
<A NAME="alListener3f(int, float, float, float)"><!-- --></A><H3>
alListener3f</H3>
<PRE>
public static void <B>alListener3f</B>(int&nbsp;pname,
float&nbsp;v1,
float&nbsp;v2,
float&nbsp;v3)</PRE>
<DL>
<DD>Listener attributes are changed using the Listener group of commands.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be set<DD><CODE>v1</CODE> - value value 1<DD><CODE>v2</CODE> - value value 2<DD><CODE>v3</CODE> - float value 3</DL>
</DD>
</DL>
<HR>
<A NAME="alGetListeneri(int)"><!-- --></A><H3>
alGetListeneri</H3>
<PRE>
public static int <B>alGetListeneri</B>(int&nbsp;pname)</PRE>
<DL>
<DD>Listener state is maintained inside the AL implementation and can be queried in
full.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be retrieved
<DT><B>Returns:</B><DD>int</DL>
</DD>
</DL>
<HR>
<A NAME="alGetListenerf(int)"><!-- --></A><H3>
alGetListenerf</H3>
<PRE>
public static float <B>alGetListenerf</B>(int&nbsp;pname)</PRE>
<DL>
<DD>Listener state is maintained inside the AL implementation and can be queried in
full.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be retrieved
<DT><B>Returns:</B><DD>float</DL>
</DD>
</DL>
<HR>
<A NAME="alGetListener(int, java.nio.FloatBuffer)"><!-- --></A><H3>
alGetListener</H3>
<PRE>
public static void <B>alGetListener</B>(int&nbsp;pname,
java.nio.FloatBuffer&nbsp;floatdata)</PRE>
<DL>
<DD>Listener state is maintained inside the AL implementation and can be queried in
full.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pname</CODE> - name of the attribute to be retrieved<DD><CODE>floatdata</CODE> - Buffer to write floats to</DL>
</DD>
</DL>
<HR>
<A NAME="alGenSources(java.nio.IntBuffer)"><!-- --></A><H3>
alGenSources</H3>
<PRE>
public static void <B>alGenSources</B>(java.nio.IntBuffer&nbsp;sources)</PRE>
<DL>
<DD>The application requests a number of Sources using GenSources.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sources</CODE> - array holding sources</DL>
</DD>
</DL>
<HR>
<A NAME="alGenSources()"><!-- --></A><H3>
alGenSources</H3>
<PRE>
public static int <B>alGenSources</B>()</PRE>
<DL>
<DD>Overloads alGenSources.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="alDeleteSources(java.nio.IntBuffer)"><!-- --></A><H3>
alDeleteSources</H3>
<PRE>
public static void <B>alDeleteSources</B>(java.nio.IntBuffer&nbsp;sources)</PRE>
<DL>
<DD>The application requests deletion of a number of Sources by DeleteSources.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sources</CODE> - Source array to delete from</DL>
</DD>
</DL>
<HR>
<A NAME="alDeleteSources(int)"><!-- --></A><H3>
alDeleteSources</H3>
<PRE>
public static void <B>alDeleteSources</B>(int&nbsp;source)</PRE>
<DL>
<DD>Overloads alDeleteSources.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="alIsSource(int)"><!-- --></A><H3>
alIsSource</H3>
<PRE>
public static boolean <B>alIsSource</B>(int&nbsp;id)</PRE>
<DL>
<DD>The application can verify whether a source name is valid using the IsSource query.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>id</CODE> - id of source to be testes for validity
<DT><B>Returns:</B><DD>true if id is valid, false if not</DL>
</DD>
</DL>
<HR>
<A NAME="alSourcei(int, int, int)"><!-- --></A><H3>
alSourcei</H3>
<PRE>
public static void <B>alSourcei</B>(int&nbsp;source,
int&nbsp;pname,
int&nbsp;value)</PRE>
<DL>
<DD>Specifies the position and other properties as taken into account during
sound processing.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to det property on<DD><CODE>pname</CODE> - property to set<DD><CODE>value</CODE> - value of property</DL>
</DD>
</DL>
<HR>
<A NAME="alSourcef(int, int, float)"><!-- --></A><H3>
alSourcef</H3>
<PRE>
public static void <B>alSourcef</B>(int&nbsp;source,
int&nbsp;pname,
float&nbsp;value)</PRE>
<DL>
<DD>Specifies the position and other properties as taken into account during
sound processing.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to det property on<DD><CODE>pname</CODE> - property to set<DD><CODE>value</CODE> - value of property</DL>
</DD>
</DL>
<HR>
<A NAME="alSource(int, int, java.nio.FloatBuffer)"><!-- --></A><H3>
alSource</H3>
<PRE>
public static void <B>alSource</B>(int&nbsp;source,
int&nbsp;pname,
java.nio.FloatBuffer&nbsp;value)</PRE>
<DL>
<DD>Specifies the position and other properties as taken into account during
sound processing.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to set property on<DD><CODE>pname</CODE> - property to set<DD><CODE>value</CODE> - FloatBuffer containing value of property</DL>
</DD>
</DL>
<HR>
<A NAME="alSource3f(int, int, float, float, float)"><!-- --></A><H3>
alSource3f</H3>
<PRE>
public static void <B>alSource3f</B>(int&nbsp;source,
int&nbsp;pname,
float&nbsp;v1,
float&nbsp;v2,
float&nbsp;v3)</PRE>
<DL>
<DD>Specifies the position and other properties as taken into account during
sound processing.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to set property on<DD><CODE>pname</CODE> - property to set<DD><CODE>v1</CODE> - value 1 of property<DD><CODE>v2</CODE> - value 2 of property<DD><CODE>v3</CODE> - value 3 of property</DL>
</DD>
</DL>
<HR>
<A NAME="alGetSourcei(int, int)"><!-- --></A><H3>
alGetSourcei</H3>
<PRE>
public static int <B>alGetSourcei</B>(int&nbsp;source,
int&nbsp;pname)</PRE>
<DL>
<DD>Source state is maintained inside the AL implementation, and the current attributes
can be queried. The performance of such queries is implementation dependent, no
performance guarantees are made.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - source to get property from<DD><CODE>pname</CODE> - name of property
<DT><B>Returns:</B><DD>int</DL>
</DD>
</DL>
<HR>
<A NAME="alGetSourcef(int, int)"><!-- --></A><H3>
alGetSourcef</H3>
<PRE>
public static float <B>alGetSourcef</B>(int&nbsp;source,
int&nbsp;pname)</PRE>
<DL>
<DD>Source state is maintained inside the AL implementation, and the current attributes
can be queried. The performance of such queries is implementation dependent, no
performance guarantees are made.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - source to get property from<DD><CODE>pname</CODE> - name of property
<DT><B>Returns:</B><DD>float</DL>
</DD>
</DL>
<HR>
<A NAME="alGetSource(int, int, java.nio.FloatBuffer)"><!-- --></A><H3>
alGetSource</H3>
<PRE>
public static void <B>alGetSource</B>(int&nbsp;source,
int&nbsp;pname,
java.nio.FloatBuffer&nbsp;floatdata)</PRE>
<DL>
<DD>Source state is maintained inside the AL implementation, and the current attributes
can be queried. The performance of such queries is implementation dependent, no
performance guarantees are made.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to get property from<DD><CODE>pname</CODE> - property to get<DD><CODE>floatdata</CODE> - Buffer to write floats to</DL>
</DD>
</DL>
<HR>
<A NAME="alSourcePlay(java.nio.IntBuffer)"><!-- --></A><H3>
alSourcePlay</H3>
<PRE>
public static void <B>alSourcePlay</B>(java.nio.IntBuffer&nbsp;sources)</PRE>
<DL>
<DD>Play() 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. Play() 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. Play() applied to a
AL_PAUSED Source will resume processing using the Source state as preserved at the
Pause() operation. Play() applied to a AL_STOPPED Source will propagate it to
AL_INITIAL then to AL_PLAYING immediately.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sources</CODE> - array of sources to play</DL>
</DD>
</DL>
<HR>
<A NAME="alSourcePause(java.nio.IntBuffer)"><!-- --></A><H3>
alSourcePause</H3>
<PRE>
public static void <B>alSourcePause</B>(java.nio.IntBuffer&nbsp;sources)</PRE>
<DL>
<DD>Pause() applied to an AL_INITIAL Source is a legal NOP. Pause() applied to a
AL_PLAYING Source will change its state to AL_PAUSED. The Source is exempt from
processing, its current state is preserved. Pause() applied to a AL_PAUSED Source is a
legal NOP. Pause() applied to a AL_STOPPED Source is a legal NOP.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sources</CODE> - array of sources to pause</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceStop(java.nio.IntBuffer)"><!-- --></A><H3>
alSourceStop</H3>
<PRE>
public static void <B>alSourceStop</B>(java.nio.IntBuffer&nbsp;sources)</PRE>
<DL>
<DD>Stop() applied to an AL_INITIAL Source is a legal NOP. Stop() applied to a AL_PLAYING
Source will change its state to AL_STOPPED. The Source is exempt from processing,
its current state is preserved. Stop() applied to a AL_PAUSED Source will change its
state to AL_STOPPED, with the same consequences as on a AL_PLAYING Source. Stop()
applied to a AL_STOPPED Source is a legal NOP.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sources</CODE> - array of sources to stop</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceRewind(java.nio.IntBuffer)"><!-- --></A><H3>
alSourceRewind</H3>
<PRE>
public static void <B>alSourceRewind</B>(java.nio.IntBuffer&nbsp;sources)</PRE>
<DL>
<DD>Rewind() applied to an AL_INITIAL Source is a legal NOP. Rewind() 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. Rewind() applied to a AL_PAUSED
Source will change its state to AL_INITIAL, with the same consequences as on a
AL_PLAYING Source. Rewind() applied to a AL_STOPPED Source promotes the Source to
AL_INITIAL, resetting the sampling offset to the beginning.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sources</CODE> - array of sources to rewind</DL>
</DD>
</DL>
<HR>
<A NAME="alSourcePlay(int)"><!-- --></A><H3>
alSourcePlay</H3>
<PRE>
public static void <B>alSourcePlay</B>(int&nbsp;source)</PRE>
<DL>
<DD>Play() 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. Play() 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. Play() applied to a
AL_PAUSED Source will resume processing using the Source state as preserved at the
Pause() operation. Play() applied to a AL_STOPPED Source will propagate it to
AL_INITIAL then to AL_PLAYING immediately.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to play</DL>
</DD>
</DL>
<HR>
<A NAME="alSourcePause(int)"><!-- --></A><H3>
alSourcePause</H3>
<PRE>
public static void <B>alSourcePause</B>(int&nbsp;source)</PRE>
<DL>
<DD>Pause() applied to an AL_INITIAL Source is a legal NOP. Pause() applied to a
AL_PLAYING Source will change its state to AL_PAUSED. The Source is exempt from
processing, its current state is preserved. Pause() applied to a AL_PAUSED Source is a
legal NOP. Pause() applied to a AL_STOPPED Source is a legal NOP.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to pause</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceStop(int)"><!-- --></A><H3>
alSourceStop</H3>
<PRE>
public static void <B>alSourceStop</B>(int&nbsp;source)</PRE>
<DL>
<DD>Stop() applied to an AL_INITIAL Source is a legal NOP. Stop() applied to a AL_PLAYING
Source will change its state to AL_STOPPED. The Source is exempt from processing,
its current state is preserved. Stop() applied to a AL_PAUSED Source will change its
state to AL_STOPPED, with the same consequences as on a AL_PLAYING Source. Stop()
applied to a AL_STOPPED Source is a legal NOP.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to stop</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceRewind(int)"><!-- --></A><H3>
alSourceRewind</H3>
<PRE>
public static void <B>alSourceRewind</B>(int&nbsp;source)</PRE>
<DL>
<DD>Rewind() applied to an AL_INITIAL Source is a legal NOP. Rewind() 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. Rewind() applied to a AL_PAUSED
Source will change its state to AL_INITIAL, with the same consequences as on a
AL_PLAYING Source. Rewind() applied to a AL_STOPPED Source promotes the Source to
AL_INITIAL, resetting the sampling offset to the beginning.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Source to rewind</DL>
</DD>
</DL>
<HR>
<A NAME="alGenBuffers(java.nio.IntBuffer)"><!-- --></A><H3>
alGenBuffers</H3>
<PRE>
public static void <B>alGenBuffers</B>(java.nio.IntBuffer&nbsp;buffers)</PRE>
<DL>
<DD>The application requests a number of Buffers using GenBuffers.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffers</CODE> - holding buffers</DL>
</DD>
</DL>
<HR>
<A NAME="alGenBuffers()"><!-- --></A><H3>
alGenBuffers</H3>
<PRE>
public static int <B>alGenBuffers</B>()</PRE>
<DL>
<DD>Overloads alGenBuffers.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="alDeleteBuffers(java.nio.IntBuffer)"><!-- --></A><H3>
alDeleteBuffers</H3>
<PRE>
public static void <B>alDeleteBuffers</B>(java.nio.IntBuffer&nbsp;buffers)</PRE>
<DL>
<DD><p>
The application requests deletion of a number of Buffers by calling DeleteBuffers.
</p>
<p>
Once deleted, Names are no longer valid for use with AL function calls. Any such
use will cause an AL_INVALID_NAME error. The implementation is free to defer actual
release of resources.
</p>
<p>
IsBuffer(bname) can be used to verify deletion of a buffer. Deleting bufferName 0 is
a legal NOP in both scalar and vector forms of the command. The same is true for
unused buffer names, e.g. such as not allocated yet, or as released already.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffers</CODE> - Buffer to delete from</DL>
</DD>
</DL>
<HR>
<A NAME="alDeleteBuffers(int)"><!-- --></A><H3>
alDeleteBuffers</H3>
<PRE>
public static void <B>alDeleteBuffers</B>(int&nbsp;buffer)</PRE>
<DL>
<DD>Overloads alDeleteBuffers.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="alIsBuffer(int)"><!-- --></A><H3>
alIsBuffer</H3>
<PRE>
public static boolean <B>alIsBuffer</B>(int&nbsp;buffer)</PRE>
<DL>
<DD>The application can verify whether a buffer Name is valid using the IsBuffer query.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - buffer to be tested for validity
<DT><B>Returns:</B><DD>true if supplied buffer is valid, false if not</DL>
</DD>
</DL>
<HR>
<A NAME="alBufferData(int, int, java.nio.ByteBuffer, int)"><!-- --></A><H3>
alBufferData</H3>
<PRE>
public static void <B>alBufferData</B>(int&nbsp;buffer,
int&nbsp;format,
java.nio.ByteBuffer&nbsp;data,
int&nbsp;freq)</PRE>
<DL>
<DD><p>
A special case of Buffer state is the actual sound sample data stored in asociation
with the Buffer. Applications can specify sample data using BufferData.
</p>
<p>
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. The internal format of the Buffer is not exposed to the
application, and not accessible. Valid formats are AL_FORMAT_MONO8,
AL_FORMAT_MONO16, AL_FORMAT_STEREO8, and AL_FORMAT_STEREO16. An
implementation may expose other formats, see the chapter on Extensions for
information on determining if additional formats are supported.
</p>
<p>
Applications should always check for an error condition after attempting to specify
buffer data in case an implementation has to generate an AL_OUT_OF_MEMORY or
conversion related AL_INVALID_VALUE error. The application is free to reuse the
memory specified by the data pointer once the call to BufferData returns. The
implementation has to dereference, e.g. copy, the data during BufferData execution.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - Buffer to fill<DD><CODE>format</CODE> - format sound data is in<DD><CODE>data</CODE> - location of data<DD><CODE>freq</CODE> - frequency of data</DL>
</DD>
</DL>
<HR>
<A NAME="alBufferData(int, int, java.nio.IntBuffer, int)"><!-- --></A><H3>
alBufferData</H3>
<PRE>
public static void <B>alBufferData</B>(int&nbsp;buffer,
int&nbsp;format,
java.nio.IntBuffer&nbsp;data,
int&nbsp;freq)</PRE>
<DL>
<DD><p>
A special case of Buffer state is the actual sound sample data stored in asociation
with the Buffer. Applications can specify sample data using BufferData.
</p>
<p>
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. The internal format of the Buffer is not exposed to the
application, and not accessible. Valid formats are AL_FORMAT_MONO8,
AL_FORMAT_MONO16, AL_FORMAT_STEREO8, and AL_FORMAT_STEREO16. An
implementation may expose other formats, see the chapter on Extensions for
information on determining if additional formats are supported.
</p>
<p>
Applications should always check for an error condition after attempting to specify
buffer data in case an implementation has to generate an AL_OUT_OF_MEMORY or
conversion related AL_INVALID_VALUE error. The application is free to reuse the
memory specified by the data pointer once the call to BufferData returns. The
implementation has to dereference, e.g. copy, the data during BufferData execution.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - Buffer to fill<DD><CODE>format</CODE> - format sound data is in<DD><CODE>data</CODE> - location of data<DD><CODE>freq</CODE> - frequency of data</DL>
</DD>
</DL>
<HR>
<A NAME="alBufferData(int, int, java.nio.ShortBuffer, int)"><!-- --></A><H3>
alBufferData</H3>
<PRE>
public static void <B>alBufferData</B>(int&nbsp;buffer,
int&nbsp;format,
java.nio.ShortBuffer&nbsp;data,
int&nbsp;freq)</PRE>
<DL>
<DD><p>
A special case of Buffer state is the actual sound sample data stored in asociation
with the Buffer. Applications can specify sample data using BufferData.
</p>
<p>
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. The internal format of the Buffer is not exposed to the
application, and not accessible. Valid formats are AL_FORMAT_MONO8,
AL_FORMAT_MONO16, AL_FORMAT_STEREO8, and AL_FORMAT_STEREO16. An
implementation may expose other formats, see the chapter on Extensions for
information on determining if additional formats are supported.
</p>
<p>
Applications should always check for an error condition after attempting to specify
buffer data in case an implementation has to generate an AL_OUT_OF_MEMORY or
conversion related AL_INVALID_VALUE error. The application is free to reuse the
memory specified by the data pointer once the call to BufferData returns. The
implementation has to dereference, e.g. copy, the data during BufferData execution.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - Buffer to fill<DD><CODE>format</CODE> - format sound data is in<DD><CODE>data</CODE> - location of data<DD><CODE>freq</CODE> - frequency of data</DL>
</DD>
</DL>
<HR>
<A NAME="alGetBufferi(int, int)"><!-- --></A><H3>
alGetBufferi</H3>
<PRE>
public static int <B>alGetBufferi</B>(int&nbsp;buffer,
int&nbsp;pname)</PRE>
<DL>
<DD>Buffer state is maintained inside the AL implementation and can be queried in full.<br>
ALC_FREQUENCY - specified in samples per second, i.e. units of Hertz [Hz].<br>
ALC_SIZE - Size in bytes of the buffer data.<br>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - buffer to get property from<DD><CODE>pname</CODE> - name of property to retrieve</DL>
</DD>
</DL>
<HR>
<A NAME="alGetBufferf(int, int)"><!-- --></A><H3>
alGetBufferf</H3>
<PRE>
public static float <B>alGetBufferf</B>(int&nbsp;buffer,
int&nbsp;pname)</PRE>
<DL>
<DD>Buffer state is maintained inside the AL implementation and can be queried in full.<br>
ALC_FREQUENCY - specified in samples per second, i.e. units of Hertz [Hz].<br>
ALC_SIZE - Size in bytes of the buffer data.<br>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - buffer to get property from<DD><CODE>pname</CODE> - name of property to retrieve
<DT><B>Returns:</B><DD>float</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceQueueBuffers(int, java.nio.IntBuffer)"><!-- --></A><H3>
alSourceQueueBuffers</H3>
<PRE>
public static void <B>alSourceQueueBuffers</B>(int&nbsp;source,
java.nio.IntBuffer&nbsp;buffers)</PRE>
<DL>
<DD><p>
The application can queue up one or multiple buffer names using
SourceQueueBuffers. The buffers will be queued in the sequence in which they
appear in the array.
</p>
<p>
This command is legal on a Source in any state (to allow for streaming, queueing
has to be possible on a AL_PLAYING Source). Queues are read-only with exception of
the unqueue operation. The Buffer Name AL_NONE (i.e. 0) can be queued.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - source to queue buffers onto<DD><CODE>buffers</CODE> - buffers to be queued</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceQueueBuffers(int, int)"><!-- --></A><H3>
alSourceQueueBuffers</H3>
<PRE>
public static void <B>alSourceQueueBuffers</B>(int&nbsp;source,
int&nbsp;buffer)</PRE>
<DL>
<DD>Overloads alSourceQueueBuffers.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceUnqueueBuffers(int, java.nio.IntBuffer)"><!-- --></A><H3>
alSourceUnqueueBuffers</H3>
<PRE>
public static void <B>alSourceUnqueueBuffers</B>(int&nbsp;source,
java.nio.IntBuffer&nbsp;buffers)</PRE>
<DL>
<DD><p>
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 AL_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).
</p>
<p>
The Unqueue command removes a number of buffers entries that have finished
processing, in the order of appearance, from the queue. The operation will fail if
more buffers are requested than available, leaving the destination arguments
unchanged. An AL_INVALID_VALUE error will be thrown. If no error, the destination
argument will have been updated accordingly.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - source to unqueue buffers from<DD><CODE>buffers</CODE> - IntBuffer containing list of names that were unqueued</DL>
</DD>
</DL>
<HR>
<A NAME="alSourceUnqueueBuffers(int)"><!-- --></A><H3>
alSourceUnqueueBuffers</H3>
<PRE>
public static int <B>alSourceUnqueueBuffers</B>(int&nbsp;source)</PRE>
<DL>
<DD>Overloads alSourceUnqueueBuffers.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="alDistanceModel(int)"><!-- --></A><H3>
alDistanceModel</H3>
<PRE>
public static void <B>alDistanceModel</B>(int&nbsp;value)</PRE>
<DL>
<DD><p>
Samples usually use the entire dynamic range of the chosen format/encoding,
independent of their real world intensity. In other words, a jet engine and a
clockwork both will have samples with full amplitude. The application will then
have to adjust Source AL_GAIN accordingly to account for relative differences.
</p>
<p>
Source AL_GAIN is then attenuated by distance. The effective attenuation of a Source
depends on many factors, among which distance attenuation and source and
Listener AL_GAIN are only some of the contributing factors. Even if the source and
Listener AL_GAIN exceed 1.0 (amplification beyond the guaranteed dynamic range),
distance and other attenuation might ultimately limit the overall AL_GAIN to a value
below 1.0.
</p>
<p>
AL currently supports three modes of operation with respect to distance
attenuation. It supports two distance-dependent attenuation models, one which is
similar to the IASIG I3DL2 (and DS3D) model. The application choses one of these
two models (or can chose to disable distance-dependent attenuation effects model)
on a per-context basis.
</p>
<p>
Legal arguments are AL_NONE, AL_INVERSE_DISTANCE, and
AL_INVERSE_DISTANCE_CLAMPED.
<br>
<br>
AL_NONE bypasses all distance attenuation
calculation for all Sources. The implementation is expected to optimize this
situation.
<br>
<br>
AL_INVERSE_DISTANCE_CLAMPED is the DS3D model, with
AL_REFERENCE_DISTANCE indicating both the reference distance and the distance
below which gain will be clamped.
<br>
<br>
AL_INVERSE_DISTANCE is equivalent to the DS3D
model with the exception that AL_REFERENCE_DISTANCE does not imply any
clamping.
<br>
<br>
The AL implementation is still free to apply any range clamping as
necessary. The current distance model chosen can be queried using GetIntegerv and
AL_DISTANCE_MODEL.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - distance model to be set</DL>
</DD>
</DL>
<HR>
<A NAME="alDopplerFactor(float)"><!-- --></A><H3>
alDopplerFactor</H3>
<PRE>
public static void <B>alDopplerFactor</B>(float&nbsp;value)</PRE>
<DL>
<DD>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 application can increase or decrease that frequency shift by specifying the
scaling factor AL should apply to the result of the calculation.
<br>
<br>
The Doppler Effect as implemented by AL is described by the formula below. Effects
of the medium (air, water) moving with respect to listener and source are ignored.
AL_DOPPLER_VELOCITY is the propagation speed relative to which the Source
velocities are interpreted.
<p>
<p>
<pre>
VD: AL_DOPPLER_VELOCITY
DF: AL_DOPPLER_FACTOR
vl: Listener velocity (scalar, projected on source-listener vector)
vs: Source verlocity (scalar, projected on source-listener vector)
f: Frequency in sample
f': effective Doppler shifted frequency
<p>
f' = DF * f * (VD-vl)/(VD+vs)
<p>
vl<0, vs>0 : source and listener approaching each other
vl>0, vs<0 : source and listener moving away from each other
</pre>
</p>
<p>
The implementation has to clamp the projected Listener velocity vl, if abs(vl) is
greater or equal VD. It similarly has to clamp the projected Source velocity vs if
abs(vs) is greater or equal VD.
</p>
<p>
There are two API calls global to the current context that provide control of the two
related parameters.
</p>
<p>
AL_DOPPLER_FACTOR is a simple scaling to exaggerate or
deemphasize the Doppler (pitch) shift resulting from the calculation.
</p>
<p>
A negative value will result in an AL_INVALID_VALUE error, the command is then
ignored. The default value is 1. The current setting can be queried using GetFloatv
and AL_DOPPLER_FACTOR. The implementation is free to optimize the case of
AL_DOPPLER_FACTOR being set to zero, as this effectively disables the effect.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Doppler scale value to set</DL>
</DD>
</DL>
<HR>
<A NAME="alDopplerVelocity(float)"><!-- --></A><H3>
alDopplerVelocity</H3>
<PRE>
public static void <B>alDopplerVelocity</B>(float&nbsp;value)</PRE>
<DL>
<DD>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 application can increase or decrease that frequency shift by specifying the
scaling factor AL should apply to the result of the calculation.
<br>
<br>
The Doppler Effect as implemented by AL is described by the formula below. Effects
of the medium (air, water) moving with respect to listener and source are ignored.
AL_DOPPLER_VELOCITY is the propagation speed relative to which the Source
velocities are interpreted.
<p>
<p>
<pre>
VD: AL_DOPPLER_VELOCITY
DF: AL_DOPPLER_FACTOR
vl: Listener velocity (scalar, projected on source-listener vector)
vs: Source verlocity (scalar, projected on source-listener vector)
f: Frequency in sample
f': effective Doppler shifted frequency
<p>
f' = DF * f * (VD-vl)/(VD+vs)
<p>
vl<0, vs>0 : source and listener approaching each other
vl>0, vs<0 : source and listener moving away from each other
</pre>
</p>
<p>
The implementation has to clamp the projected Listener velocity vl, if abs(vl) is
greater or equal VD. It similarly has to clamp the projected Source velocity vs if
abs(vs) is greater or equal VD.
</p>
<p>
There are two API calls global to the current context that provide control of the two
related parameters.
</p>
<p>
AL_DOPPLER_VELOCITY allows the application to change the reference (propagation)
velocity used in the Doppler Effect calculation. This permits the application to use a
velocity scale appropriate to its purposes.
</p>
<p>
A negative or zero value will result in an AL_INVALID_VALUE error, the command is
then ignored. The default value is 1. The current setting can be queried using
GetFloatv and AL_DOPPLER_VELOCITY.
</p>
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - Doppler velocity value to set</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AL10.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/lwjgl/openal/AL.html" title="class in org.lwjgl.openal"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/lwjgl/openal/AL11.html" title="class in org.lwjgl.openal"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/lwjgl/openal/AL10.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AL10.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright &#169; 2002-2009 lwjgl.org. All Rights Reserved.</i>
</BODY>
</HTML>