WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

getid3_mp3::ClosestStandardMP3Bitrate() public WP 1.0

Это метод класса: getid3_mp3{}

Хуков нет.

Возвращает

Число/float/Строку.

Использование

$result = getid3_mp3::ClosestStandardMP3Bitrate( $bit_rate );
$bit_rate(float/число) (обязательный)

Код getid3_mp3::ClosestStandardMP3Bitrate() WP 5.5.1

wp-includes/ID3/module.audio.mp3.php
<?php
public static function ClosestStandardMP3Bitrate($bit_rate) {
	static $standard_bit_rates = array (320000, 256000, 224000, 192000, 160000, 128000, 112000, 96000, 80000, 64000, 56000, 48000, 40000, 32000, 24000, 16000, 8000);
	static $bit_rate_table = array (0=>'-');
	$round_bit_rate = intval(round($bit_rate, -3));
	if (!isset($bit_rate_table[$round_bit_rate])) {
		if ($round_bit_rate > max($standard_bit_rates)) {
			$bit_rate_table[$round_bit_rate] = round($bit_rate, 2 - strlen($bit_rate));
		} else {
			$bit_rate_table[$round_bit_rate] = max($standard_bit_rates);
			foreach ($standard_bit_rates as $standard_bit_rate) {
				if ($round_bit_rate >= $standard_bit_rate + (($bit_rate_table[$round_bit_rate] - $standard_bit_rate) / 2)) {
					break;
				}
				$bit_rate_table[$round_bit_rate] = $standard_bit_rate;
			}
		}
	}
	return $bit_rate_table[$round_bit_rate];
}