cvs: phpdoc(REF_STRUCT_DEV) / manual.xml.in /en/reference/id3 book.xml constants.xml reference.xml setup.xml /en/reference/oggvorbis book.xml
constants.xml contexts.xml examples.xml reference.xml setup.xml /en/reference/openal book.xml constants.xml reference.xml setup.xml

From: Date: Sun, 02 Dec 2007 19:45:41 +0000
Subject: cvs: phpdoc(REF_STRUCT_DEV) / manual.xml.in /en/reference/id3 book.xml constants.xml reference.xml setup.xml /en/reference/oggvorbis book.xml
constants.xml contexts.xml examples.xml reference.xml setup.xml /en/reference/openal book.xml constants.xml reference.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-510@lists.php.net to get a copy of this message
bjori Sun Dec 2 19:45:41 2007 UTC Added files: (Branch: REF_STRUCT_DEV) /phpdoc/en/reference/id3 book.xml setup.xml /phpdoc/en/reference/oggvorbis book.xml examples.xml setup.xml /phpdoc/en/reference/openal book.xml setup.xml Modified files: /phpdoc manual.xml.in /phpdoc/en/reference/id3 constants.xml reference.xml /phpdoc/en/reference/oggvorbis constants.xml contexts.xml reference.xml /phpdoc/en/reference/openal constants.xml reference.xml Log: Upgrade refs.utilspec.audio to the new-ref-style

http://cvs.php.net/viewvc.cgi/phpdoc/manual.xml.in?r1=1.224.2.24&r2=1.224.2.25&diff_format=u Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.224.2.24 phpdoc/manual.xml.in:1.224.2.25 --- phpdoc/manual.xml.in:1.224.2.24 Sun Dec 2 18:37:11 2007 +++ phpdoc/manual.xml.in Sun Dec 2 19:45:41 2007 @@ -2,7 +2,7 @@ <!DOCTYPE set PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "@srcdir@/docbook/docbook-xml/docbook.dtd" [ -<!-- $Revision: 1.224.2.24 $ --> <!-- Last updated to comply to manual.xml.in 1.189 --> +<!-- $Revision: 1.224.2.25 $ --> <!-- Last updated to comply to manual.xml.in 1.189 --> <!-- We use xhtml entities all over the place --> <!ENTITY % xhtml-lat1 SYSTEM "@srcdir@/entities/ISO/xhtml1-lat1.ent"> <!ENTITY % xhtml-symbol SYSTEM "@srcdir@/entities/ISO/xhtml1-symbol.ent"> @@ -399,12 +399,12 @@ &reference.imagick.reference; </book> - <book xml:id="refs.utilspec.audio"> + <set xml:id="refs.utilspec.audio"> <title>Audio Formats Manipulation</title> - &reference.id3.reference; - &reference.oggvorbis.reference; - &reference.openal.reference; - </book> + &reference.id3.book; + &reference.oggvorbis.book; + &reference.openal.book; + </set> <book xml:id="refs.utilspec.cmdline"> <title>Command Line Specific Extensions</title> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/id3/constants.xml?r1=1.5&r2=1.5.2.1&diff_format=u Index: phpdoc/en/reference/id3/constants.xml diff -u phpdoc/en/reference/id3/constants.xml:1.5 phpdoc/en/reference/id3/constants.xml:1.5.2.1 --- phpdoc/en/reference/id3/constants.xml:1.5 Wed Jun 20 22:24:37 2007 +++ phpdoc/en/reference/id3/constants.xml Sun Dec 2 19:45:41 2007 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<section xml:id="id3.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.5.2.1 $ --> +<appendix xml:id="id3.constants" xmlns="http://docbook.org/ns/docbook"> <title>Predefined Constants</title> <para> Most of the id3 functions either let you specify @@ -97,7 +97,7 @@ </varlistentry> </variablelist> </para> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/id3/reference.xml?r1=1.6.2.1&r2=1.6.2.2&diff_format=u Index: phpdoc/en/reference/id3/reference.xml diff -u phpdoc/en/reference/id3/reference.xml:1.6.2.1 phpdoc/en/reference/id3/reference.xml:1.6.2.2 --- phpdoc/en/reference/id3/reference.xml:1.6.2.1 Wed Oct 3 11:41:11 2007 +++ phpdoc/en/reference/id3/reference.xml Sun Dec 2 19:45:41 2007 @@ -1,57 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6.2.1 $ --> -<!-- Purpose: utilspec.audio --> -<!-- Membership: pecl --> +<!-- $Revision: 1.6.2.2 $ --> - <reference xml:id="ref.id3" xmlns="http://docbook.org/ns/docbook"> - <title>ID3 Functions</title> - <titleabbrev>id3</titleabbrev> +<reference xml:id="ref.id3" xmlns="http://docbook.org/ns/docbook"> + <title>ID3 &Functions;</title> - <partintro> - <section xml:id="id3.intro"> - &reftitle.intro; - <para> - These functions let you read and manipulate ID3 tags. - ID3 tags are used in MP3 files to store title of the song, as well - as information about the artist, album, genre, year and track - number. - </para> - <para> - Since version 0.2 it is also possible to extract text frames from - ID3 v2.2+ tags. - </para> - </section> - - <section xml:id="id3.requirements"> - &reftitle.required; - &no.requirement; - </section> - - <section xml:id="id3.installation"> - &reftitle.install; - <para> - id3 is part of PECL and can be installed using the PEAR installer. - To compile PHP with id3 support, download the sourcecode, put it in - php-src/ext/id3 and compile PHP using --enable-id3. - </para> - </section> + &reference.id3.functions.entities; - <section xml:id="id3.configuration"> - &reftitle.runtime; - &no.config; - </section> - - <section xml:id="id3.resources"> - &reftitle.resources; - &no.resource; - </section> - - &reference.id3.constants; - </partintro> - -&reference.id3.functions.entities; - - </reference> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oggvorbis/constants.xml?r1=1.2&r2=1.2.2.1&diff_format=u Index: phpdoc/en/reference/oggvorbis/constants.xml diff -u phpdoc/en/reference/oggvorbis/constants.xml:1.2 phpdoc/en/reference/oggvorbis/constants.xml:1.2.2.1 --- phpdoc/en/reference/oggvorbis/constants.xml:1.2 Wed Jun 20 22:25:08 2007 +++ phpdoc/en/reference/oggvorbis/constants.xml Sun Dec 2 19:45:41 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<section xml:id="oggvorbis.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.2.2.1 $ --> +<appendix xml:id="oggvorbis.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <table> @@ -40,7 +40,7 @@ </tbody> </tgroup> </table> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oggvorbis/contexts.xml?r1=1.2&r2=1.2.2.1&diff_format=u Index: phpdoc/en/reference/oggvorbis/contexts.xml diff -u phpdoc/en/reference/oggvorbis/contexts.xml:1.2 phpdoc/en/reference/oggvorbis/contexts.xml:1.2.2.1 --- phpdoc/en/reference/oggvorbis/contexts.xml:1.2 Wed Jun 20 22:25:08 2007 +++ phpdoc/en/reference/oggvorbis/contexts.xml Sun Dec 2 19:45:41 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<section xml:id="oggvorbis.contexts" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.2.2.1 $ --> +<chapter xml:id="oggvorbis.contexts" xmlns="http://docbook.org/ns/docbook"> <title>Context options</title> <table> <title>OGG/Vorbis tuning options</title> @@ -66,7 +66,7 @@ </tbody> </tgroup> </table> -</section> +</chapter> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oggvorbis/reference.xml?r1=1.7&r2=1.7.2.1&diff_format=u Index: phpdoc/en/reference/oggvorbis/reference.xml diff -u phpdoc/en/reference/oggvorbis/reference.xml:1.7 phpdoc/en/reference/oggvorbis/reference.xml:1.7.2.1 --- phpdoc/en/reference/oggvorbis/reference.xml:1.7 Wed Jun 20 22:25:08 2007 +++ phpdoc/en/reference/oggvorbis/reference.xml Sun Dec 2 19:45:41 2007 @@ -1,128 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- Purpose: utilspec.audio --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.7.2.1 $ --> <reference xml:id="ref.oggvorbis" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>oggvorbis</title> - <titleabbrev>OGG/Vorbis</titleabbrev> + <title>oggvorbis &Functions;</title> - <partintro> - <section xml:id="oggvorbis.intro"> - &reftitle.intro; - <simpara> - The OGG/Vorbis file format, as defined by <link - xlink:href="&url.ogg.vorbis;">&url.ogg.vorbis;</link>, is a scheme - for compressing audio streams by multiple factors with a minimum of - quality loss. This extension adds Ogg Vorbis support to PHP&apos;s - <link linkend="wrappers">URL Wrappers</link>. When used in read mode, - compressed OGG/Vorbis data is expanded to raw PCM audio in one of six PCM - encoding formats listed below. - </simpara> - </section> - <section xml:id="oggvorbis.requirements"> - &reftitle.required; - <para> - This extension requires <literal>PHP &gt;= 4.3.0</literal>, - <link xlink:href="&url.ogg.vorbis.downloads;">libogg</link> &gt;= 1.0, and - <link xlink:href="&url.ogg.vorbis.downloads;">libvorbis</link> &gt;= 1.0. - </para> - </section> - - <section xml:id="oggvorbis.configuration"> - &reftitle.runtime; - &no.config; - </section> - - - &reference.oggvorbis.configure; - - &reference.oggvorbis.contexts; - - &reference.oggvorbis.constants; - - </partintro> - <refentry xml:id="oggvorbis.usage"> - <refnamediv> - <refname>Usage</refname> - <refpurpose> - Examples on using the ogg:// wrapper. - </refpurpose> - </refnamediv> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>Reading an OGG/Vorbis file</title> - <programlisting role="php"> -<![CDATA[ -<?php -dl("oggvorbis.so"); - -/* By default, ogg:// will decode to Signed 16-bit Little Endian */ -$fp = fopen('ogg://myaudio.ogg', 'r'); - -/* Collect some information about the file. */ -$metadata = stream_get_meta_data($fp); - -/* Inspect the first song (usually the only song, - but OGG/Vorbis files may be chained) */ -$songdata = $metadata['wrapper_data'][0]; - -echo "OGG/Vorbis file encoded by: {$songdata['vendor']}\n."; -echo " {$songdata['channels']} channels of {$songdata['rate']}Hz sampling encoded at {$songdata['bitrate_nominal']}bps.\n"; -foreach($songdata['comments'] as $comment) { - echo " $comment\n"; -} - -while ($audio_data = fread($fp, 8192)) { - /* Do something with the PCM audio we're extracting from the OGG. - Copying to /dev/dsp is a good target on linux systems, - just remember to setup the device for your sampling mode first. */ -} - -fclose($fp); - -?> -]]> - </programlisting> - </example> - </para> - - <para> - <example> - <title>Encode an audio file to OGG/Vorbis</title> - <programlisting role="php"> -<![CDATA[ -<?php -dl('oggvorbis.so'); - -$context = stream_context_create(array('ogg'=>array( - 'pcm_mode' => OGGVORBIS_PCM_S8, /* Signed 8bit audio */ - 'rate' => 44100, /* 44kHz CD quality */ - 'bitrate' => 0.5, /* Midquality VBR */ - 'channels' => 1, /* Mono */ - 'serialno' => 12345))); /* Unique within our stream */ - -/* Open file for appending. This will "chain" a second OGG stream at the end of the first. */ -$ogg = fopen('ogg://mysong.ogg', 'a', false, $context); - -$pcm = fopen('mysample.pcm', 'r'); - -/* Compress the raw PCM audio from mysample.pcm into mysong.ogg */ -stream_copy_to_stream($pcm, $ogg); - -fclose($pcm); -fclose($ogg); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> </reference> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openal/constants.xml?r1=1.2&r2=1.2.2.1&diff_format=u Index: phpdoc/en/reference/openal/constants.xml diff -u phpdoc/en/reference/openal/constants.xml:1.2 phpdoc/en/reference/openal/constants.xml:1.2.2.1 --- phpdoc/en/reference/openal/constants.xml:1.2 Wed Jun 20 22:25:08 2007 +++ phpdoc/en/reference/openal/constants.xml Sun Dec 2 19:45:41 2007 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.2 $ --> -<section xml:id="openal.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.2.2.1 $ --> +<appendix xml:id="openal.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <variablelist> @@ -390,7 +390,7 @@ </listitem> </varlistentry> </variablelist> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openal/reference.xml?r1=1.4.2.1&r2=1.4.2.2&diff_format=u Index: phpdoc/en/reference/openal/reference.xml diff -u phpdoc/en/reference/openal/reference.xml:1.4.2.1 phpdoc/en/reference/openal/reference.xml:1.4.2.2 --- phpdoc/en/reference/openal/reference.xml:1.4.2.1 Wed Oct 3 11:41:13 2007 +++ phpdoc/en/reference/openal/reference.xml Sun Dec 2 19:45:41 2007 @@ -1,31 +1,13 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.4.2.1 $ --> -<!-- Purpose: utilspec.audio --> -<!-- Membership: pecl, external --> +<!-- $Revision: 1.4.2.2 $ --> - <reference xml:id="ref.openal" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>OpenAL Audio Bindings</title> - <titleabbrev>openal</titleabbrev> +<reference xml:id="ref.openal" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>OpenAL Audio &Functions;</title> + <titleabbrev>openal</titleabbrev> - <partintro> - <section xml:id="openal.intro"> - &reftitle.intro; - <para> - Platform independent audio bindings. - Requires the <link xlink:href="&url.openal;">OpenAL library</link>. - </para> - </section> + &reference.openal.functions.entities; - &reference.openal.configure; - &reference.openal.ini; - &reference.openal.resources; - &reference.openal.constants; - - </partintro> - - &reference.openal.functions.entities; - - </reference> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/id3/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/id3/book.xml +++ phpdoc/en/reference/id3/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/id3/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/id3/setup.xml +++ phpdoc/en/reference/id3/setup.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oggvorbis/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/oggvorbis/book.xml +++ phpdoc/en/reference/oggvorbis/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oggvorbis/examples.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/oggvorbis/examples.xml +++ phpdoc/en/reference/oggvorbis/examples.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oggvorbis/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/oggvorbis/setup.xml +++ phpdoc/en/reference/oggvorbis/setup.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openal/book.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/openal/book.xml +++ phpdoc/en/reference/openal/book.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/openal/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/openal/setup.xml +++ phpdoc/en/reference/openal/setup.xml
« previous php.doc.cvs (#510) next »