<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="openal.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.openal.html">OpenAL Functions</a></div> <div class="up"><a href="book.openal.html">OpenAL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="openal.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <dl> <dt id="constant.alc-frequency"> <span class="term"> <strong><code>ALC_FREQUENCY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Context Attribute </span> </dd> </dt> <dt id="constant.alc-refresh"> <span class="term"> <strong><code>ALC_REFRESH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Context Attribute </span> </dd> </dt> <dt id="constant.alc-sync"> <span class="term"> <strong><code>ALC_SYNC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Context Attribute </span> </dd> </dt> <dt id="constant.al-frequency"> <span class="term"> <strong><code>AL_FREQUENCY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Buffer Setting </span> </dd> </dt> <dt id="constant.al-bits"> <span class="term"> <strong><code>AL_BITS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Buffer Setting </span> </dd> </dt> <dt id="constant.al-channels"> <span class="term"> <strong><code>AL_CHANNELS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Buffer Setting </span> </dd> </dt> <dt id="constant.al-size"> <span class="term"> <strong><code>AL_SIZE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Buffer Setting </span> </dd> </dt> <dt id="constant.al-buffer"> <span class="term"> <strong><code>AL_BUFFER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Integer) </span> </dd> </dt> <dt id="constant.al-source-relative"> <span class="term"> <strong><code>AL_SOURCE_RELATIVE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Integer) </span> </dd> </dt> <dt id="constant.al-source-state"> <span class="term"> <strong><code>AL_SOURCE_STATE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Integer) </span> </dd> </dt> <dt id="constant.al-pitch"> <span class="term"> <strong><code>AL_PITCH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-gain"> <span class="term"> <strong><code>AL_GAIN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-min-gain"> <span class="term"> <strong><code>AL_MIN_GAIN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-max-gain"> <span class="term"> <strong><code>AL_MAX_GAIN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-max-distance"> <span class="term"> <strong><code>AL_MAX_DISTANCE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-rolloff-factor"> <span class="term"> <strong><code>AL_ROLLOFF_FACTOR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-cone-outer-gain"> <span class="term"> <strong><code>AL_CONE_OUTER_GAIN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-cone-inner-angle"> <span class="term"> <strong><code>AL_CONE_INNER_ANGLE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-cone-outer-angle"> <span class="term"> <strong><code>AL_CONE_OUTER_ANGLE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-reference-distance"> <span class="term"> <strong><code>AL_REFERENCE_DISTANCE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float) </span> </dd> </dt> <dt id="constant.al-position"> <span class="term"> <strong><code>AL_POSITION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float Vector) </span> </dd> </dt> <dt id="constant.al-velocity"> <span class="term"> <strong><code>AL_VELOCITY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float Vector) </span> </dd> </dt> <dt id="constant.al-direction"> <span class="term"> <strong><code>AL_DIRECTION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float Vector) </span> </dd> </dt> <dt id="constant.al-orientation"> <span class="term"> <strong><code>AL_ORIENTATION</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source/Listener Setting (Float Vector) </span> </dd> </dt> <dt id="constant.al-format-mono8"> <span class="term"> <strong><code>AL_FORMAT_MONO8</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PCM Format </span> </dd> </dt> <dt id="constant.al-format-mono16"> <span class="term"> <strong><code>AL_FORMAT_MONO16</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PCM Format </span> </dd> </dt> <dt id="constant.al-format-stereo8"> <span class="term"> <strong><code>AL_FORMAT_STEREO8</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PCM Format </span> </dd> </dt> <dt id="constant.al-format-stereo16"> <span class="term"> <strong><code>AL_FORMAT_STEREO16</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> PCM Format </span> </dd> </dt> <dt id="constant.al-initial"> <span class="term"> <strong><code>AL_INITIAL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source State </span> </dd> </dt> <dt id="constant.al-playing"> <span class="term"> <strong><code>AL_PLAYING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source State </span> </dd> </dt> <dt id="constant.al-paused"> <span class="term"> <strong><code>AL_PAUSED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source State </span> </dd> </dt> <dt id="constant.al-stopped"> <span class="term"> <strong><code>AL_STOPPED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source State </span> </dd> </dt> <dt id="constant.al-looping"> <span class="term"> <strong><code>AL_LOOPING</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Source State </span> </dd> </dt> <dt id="constant.al-true"> <span class="term"> <strong><code>AL_TRUE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Boolean value recognized by OpenAL </span> </dd> </dt> <dt id="constant.al-false"> <span class="term"> <strong><code>AL_FALSE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Boolean value recognized by OpenAL </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="openal.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.openal.html">OpenAL Functions</a></div> <div class="up"><a href="book.openal.html">OpenAL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>