getid3_ac3::sampleRateCodeLookup

Advertisement

Syntax Syntax

getid3_ac3::sampleRateCodeLookup( int $fscod )

Parameters Parameters

$fscod

(Required)

Return Return

(int|string|false)

Source Source

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

	 *
	 * @return int|string|false
	 */
	public static function sampleRateCodeLookup($fscod) {
		static $sampleRateCodeLookup = array(
			0 => 48000,
			1 => 44100,
			2 => 32000,
			3 => 'reserved' // If the reserved code is indicated, the decoder should not attempt to decode audio and should mute.

Advertisement

Advertisement

Leave a Reply