<!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="oggvorbis.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="oggvorbis.contexts.html">Context options</a></div> <div class="up"><a href="book.oggvorbis.html">oggvorbis</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="oggvorbis.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> <table class="doctable table"> <caption><strong>OGG/Vorbis supports PCM encodings in the following formats</strong></caption> <thead> <tr> <th>Constant</th> <th>Definition</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.oggvorbis-pcm-u8"> <td><strong><code>OGGVORBIS_PCM_U8</code></strong></td> <td>Unsigned 8-bit PCM.</td> </tr> <tr id="constant.oggvorbis-pcm-s8"> <td><strong><code>OGGVORBIS_PCM_S8</code></strong></td> <td>Signed 8-bit PCM.</td> </tr> <tr id="constant.oggvorbis-pcm-u16-le"> <td><strong><code>OGGVORBIS_PCM_U16_LE</code></strong></td> <td>Unsigned 16-bit PCM. Little Endian byte order.</td> </tr> <tr id="constant.oggvorbis-pcm-u16-be"> <td><strong><code>OGGVORBIS_PCM_U16_BE</code></strong></td> <td>Unsigned 16-bit PCM. Big Endian byte order.</td> </tr> <tr id="constant.oggvorbis-pcm-s16-le"> <td><strong><code>OGGVORBIS_PCM_S16_LE</code></strong></td> <td>Signed 16-bit PCM. Little Endian byte order.</td> </tr> <tr id="constant.oggvorbis-pcm-s16-be"> <td><strong><code>OGGVORBIS_PCM_S16_BE</code></strong></td> <td>Signed 16-bit PCM. Big Endian byte order.</td> </tr> </tbody> </table> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oggvorbis.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="oggvorbis.contexts.html">Context options</a></div> <div class="up"><a href="book.oggvorbis.html">oggvorbis</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>