Syntax Syntax
Parameters Parameters
- $version
-
(Required)
- $channelmode
-
(Required)
Return Return
(int)
Source Source
File: wp-includes/ID3/module.audio.mp3.php
}
}
}
return $bit_rate_table[$round_bit_rate];
}
/**
* @param string $version
* @param string $channelmode
*
* @return int
*/
public static function XingVBRidOffset($version, $channelmode) {
static $XingVBRidOffsetCache = array();
if (empty($XingVBRidOffsetCache)) {
$XingVBRidOffsetCache = array (
'1' => array ('mono' => 0x15, // 4 + 17 = 21
'stereo' => 0x24, // 4 + 32 = 36
'joint stereo' => 0x24,
'dual channel' => 0x24
),
'2' => array ('mono' => 0x0D, // 4 + 9 = 13
'stereo' => 0x15, // 4 + 17 = 21
'joint stereo' => 0x15,