getid3_ac3::centerMixLevelLookup() –

You appear to be a bot. Output may be restricted

Description

Usage

$int|float|string|false = getid3_ac3::centerMixLevelLookup( $cmixlev );

Parameters

$cmixlev
( int ) required

Returns

int|float|string|false

Source

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

1 to 12 of 12
  public static function centerMixLevelLookup($cmixlev) {
    static $centerMixLevelLookup;
    if (empty($centerMixLevelLookup)) {
      $centerMixLevelLookup = array(
        0 => pow(2, -3.0 / 6), // 0.707 (-3.0 dB)
        1 => pow(2, -4.5 / 6), // 0.595 (-4.5 dB)
        2 => pow(2, -6.0 / 6), // 0.500 (-6.0 dB)
        3 => 'reserved'
      );
    }
    return (isset($centerMixLevelLookup[$cmixlev]) ? $centerMixLevelLookup[$cmixlev] : false);
  }
 

 View on GitHub View on Trac