File_Ogg
[ class tree: File_Ogg ] [ index: File_Ogg ] [ all elements ]

Source for file Bitstream.php

Documentation is available at Bitstream.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. // +--------------------------------------------------------------------------------+
  4. // | File_Ogg PEAR Package for Accessing Ogg Bitstreams                             |
  5. // | Copyright (c) 2005 David Grant <david@grant.org.uk>                            |
  6. // +--------------------------------------------------------------------------------+
  7. // | This library is free software; you can redistribute it and/or                  |
  8. // | modify it under the terms of the GNU Lesser General Public                     |
  9. // | License as published by the Free Software Foundation; either                   |
  10. // | version 2.1 of the License, or (at your option) any later version.             |
  11. // |                                                                                |
  12. // | This library is distributed in the hope that it will be useful,                |
  13. // | but WITHOUT ANY WARRANTY; without even the implied warranty of                 |
  14. // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU              |
  15. // | Lesser General Public License for more details.                                |
  16. // |                                                                                |
  17. // | You should have received a copy of the GNU Lesser General Public               |
  18. // | License along with this library; if not, write to the Free Software            |
  19. // | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA     |
  20. // +--------------------------------------------------------------------------------+
  21.  
  22. /**
  23.  * @author         David Grant <david@grant.org.uk>
  24.  * @category    File
  25.  * @copyright     David Grant <david@grant.org.uk>
  26.  * @license        http://www.gnu.org/copyleft/lesser.html GNU LGPL
  27.  * @link        http://pear.php.net/package/File_Ogg
  28.  * @package     File_Ogg
  29.  * @version     CVS: $Id: Bitstream.php,v 1.2 2005/11/03 14:14:52 djg Exp $
  30.  */
  31. {
  32.     /**
  33.      * The serial number of this logical stream.
  34.      *
  35.      * @var     int 
  36.      * @access  private
  37.      */
  38.     var $_streamSerial;
  39.     var $_streamList;
  40.     var $_filePointer;
  41.     
  42.     /**
  43.      * Gives the serial number of this stream.
  44.      *
  45.      * The stream serial number is of fairly academic importance, as it makes little
  46.      * difference to the end user.  The serial number is used by the Ogg physical
  47.      * stream to distinguish between concurrent logical streams.
  48.      *
  49.      * @return  int 
  50.      * @access  public
  51.      */
  52.     function getSerial()
  53.     {
  54.         return ($this->_streamSerial);
  55.     }
  56. }
  57. ?>

Documentation generated on Mon, 11 Mar 2019 14:10:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.