getid3_flv::audioFormatLookup() –

You appear to be a bot. Output may be restricted

Description

Usage

$string|false = getid3_flv::audioFormatLookup( $id );

Parameters

$id
( int ) required

Returns

string|false

Source

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

1 to 21 of 21
  public static function audioFormatLookup($id) {
    static $lookup = array(
      0  => 'Linear PCM, platform endian',
      1  => 'ADPCM',
      2  => 'mp3',
      3  => 'Linear PCM, little endian',
      4  => 'Nellymoser 16kHz mono',
      5  => 'Nellymoser 8kHz mono',
      6  => 'Nellymoser',
      7  => 'G.711A-law logarithmic PCM',
      8  => 'G.711 mu-law logarithmic PCM',
      9  => 'reserved',
      10 => 'AAC',
      11 => 'Speex',
      12 => false, // unknown?
      13 => false, // unknown?
      14 => 'mp3 8kHz',
      15 => 'Device-specific sound',
    );
    return (isset($lookup[$id]) ? $lookup[$id] : false);
  }
 

 View on GitHub View on Trac