getid3_dts::sampleRateLookup() –

You appear to be a bot. Output may be restricted

Description

Usage

$int|string|false = getid3_dts::sampleRateLookup( $index );

Parameters

$index
( int ) required

Returns

int|string|false

Source

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

1 to 21 of 21
  public static function sampleRateLookup($index) {
    static $lookup = array(
      0  => 'invalid',
      1  => 8000,
      2  => 16000,
      3  => 32000,
      4  => 'invalid',
      5  => 'invalid',
      6  => 11025,
      7  => 22050,
      8  => 44100,
      9  => 'invalid',
      10 => 'invalid',
      11 => 12000,
      12 => 24000,
      13 => 48000,
      14 => 'invalid',
      15 => 'invalid',
    );
    return (isset($lookup[$index]) ? $lookup[$index] : false);
  }
 

 View on GitHub View on Trac