WordPress at a glance
function is not described

getid3_mp3::XingVBRidOffset() public WP 1.0

{} It's a method of the class: getid3_mp3{}

No Hooks.

Return

Int. Nothing.

Usage

$result = getid3_mp3::XingVBRidOffset( $version, $channelmode );
$version(string) (required)
-
$channelmode(string) (required)
-

Code of getid3_mp3::XingVBRidOffset() WP 5.7.2

<?php
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,
							'dual channel'  => 0x15
						   ),

			'2.5' => array ('mono'          => 0x15,
							'stereo'        => 0x15,
							'joint stereo'  => 0x15,
							'dual channel'  => 0x15
						   )
		);
	}
	return $XingVBRidOffsetCache[$version][$channelmode];
}