getid3_matroska::BlockLacingType() –

You appear to be a bot. Output may be restricted

Description

Usage

$string|int = getid3_matroska::BlockLacingType( $lacingtype );

Parameters

$lacingtype
( int ) required

Returns

string|int

Source

File name: wordpress/wp-includes/ID3/module.audio-video.matroska.php
Lines:

1 to 11 of 11
  public static function BlockLacingType($lacingtype) {
    // http://matroska.org/technical/specs/index.html#block_structure
    static $BlockLacingType = array();
    if (empty($BlockLacingType)) {
      $BlockLacingType[0x00] = 'no lacing';
      $BlockLacingType[0x01] = 'Xiph lacing';
      $BlockLacingType[0x02] = 'fixed-size lacing';
      $BlockLacingType[0x03] = 'EBML lacing';
    }
    return (isset($BlockLacingType[$lacingtype]) ? $BlockLacingType[$lacingtype] : $lacingtype);
  }
 

 View on GitHub View on Trac