getid3_ac3::sampleRateCodeLookup

Advertisement

Syntax Syntax

getid3_ac3::sampleRateCodeLookup( int $fscod )

Parameters Parameters

$fscod

(int) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?