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

getID3::CalculateReplayGain() public WP 1.0

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

Хуков нет.

Возвращает

true/false.

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

$getID3 = new getID3();
$getID3->CalculateReplayGain();

Код getID3::CalculateReplayGain: wp-includes/ID3/getid3.php WP 5.5.1

<?php
public function CalculateReplayGain() {
	if (isset($this->info['replay_gain'])) {
		if (!isset($this->info['replay_gain']['reference_volume'])) {
			$this->info['replay_gain']['reference_volume'] = 89.0;
		}
		if (isset($this->info['replay_gain']['track']['adjustment'])) {
			$this->info['replay_gain']['track']['volume'] = $this->info['replay_gain']['reference_volume'] - $this->info['replay_gain']['track']['adjustment'];
		}
		if (isset($this->info['replay_gain']['album']['adjustment'])) {
			$this->info['replay_gain']['album']['volume'] = $this->info['replay_gain']['reference_volume'] - $this->info['replay_gain']['album']['adjustment'];
		}

		if (isset($this->info['replay_gain']['track']['peak'])) {
			$this->info['replay_gain']['track']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['track']['peak']);
		}
		if (isset($this->info['replay_gain']['album']['peak'])) {
			$this->info['replay_gain']['album']['max_noclip_gain'] = 0 - getid3_lib::RGADamplitude2dB($this->info['replay_gain']['album']['peak']);
		}
	}
	return true;
}