getid3_ac3::sampleRateCodeLookup2() –

You appear to be a bot. Output may be restricted

Description

Usage

$int|string|false = getid3_ac3::sampleRateCodeLookup2( $fscod2 );

Parameters

$fscod2
( int ) required

Returns

int|string|false

Source

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

1 to 9 of 9
  public static function sampleRateCodeLookup2($fscod2) {
    static $sampleRateCodeLookup2 = array(
      0 => 24000,
      1 => 22050,
      2 => 16000,
      3 => 'reserved' // If the reserved code is indicated, the decoder should not attempt to decode audio and should mute.
    );
    return (isset($sampleRateCodeLookup2[$fscod2]) ? $sampleRateCodeLookup2[$fscod2] : false);
  }
 

 View on GitHub View on Trac