mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-29 23:38:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
90 lines
2.6 KiB
XML
90 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<chapter xml:id="oggvorbis.contexts" xmlns="http://docbook.org/ns/docbook">
|
|
<title>Context options</title>
|
|
<table>
|
|
<title>OGG/Vorbis tuning options</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>Option</entry>
|
|
<entry>Definition</entry>
|
|
<entry>Relevance</entry>
|
|
<entry>Default</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>pcm_mode</entry>
|
|
<entry>PCM byte encoding used. See constants below.</entry>
|
|
<entry>Read / Write</entry>
|
|
<entry><constant>OGGVORBIS_PCM_S16_LE</constant></entry>
|
|
</row>
|
|
<row>
|
|
<entry>rate</entry>
|
|
<entry>PCM Sampling rate. Measured in Hz.</entry>
|
|
<entry>Write only</entry>
|
|
<entry><constant>44100</constant></entry>
|
|
</row>
|
|
<row>
|
|
<entry>bitrate</entry>
|
|
<entry>
|
|
Vorbis Average Bitrate Encoding / Variable Bitrate Encoding.
|
|
Measured in bps (ABR) or Quality level (VBR: 0.0 to 1.0).
|
|
128000 ABR is rough equal to 0.4 VBR.
|
|
</entry>
|
|
<entry>Write only</entry>
|
|
<entry><constant>128000</constant></entry>
|
|
</row>
|
|
<row>
|
|
<entry>channels</entry>
|
|
<entry>Number of PCM channels. 1 == Mono, 2 == Stereo.</entry>
|
|
<entry>Write only</entry>
|
|
<entry><constant>2</constant></entry>
|
|
</row>
|
|
<row>
|
|
<entry>serialno</entry>
|
|
<entry>
|
|
Serial Number of stream within file. Must be unique within file.
|
|
Because of the potential to select a duplicate serial number within
|
|
a chained file, make efforts to manually assign unique numbers when
|
|
encoding.
|
|
</entry>
|
|
<entry>Write only</entry>
|
|
<entry><emphasis>Random</emphasis></entry>
|
|
</row>
|
|
<row>
|
|
<entry>comments</entry>
|
|
<entry>
|
|
Associative array of file comments.
|
|
Will be translated to <literal>strtoupper($name) . "=$value"</literal>.
|
|
Note: This context option is not available in oggvorbis-0.1
|
|
</entry>
|
|
<entry>Write only</entry>
|
|
<entry><literal>array('ENCODER' => 'PHP/OggVorbis, http://pear.php.net/oggvorbis')</literal></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|