getid3_dts::sampleRateLookup

Advertisement

Syntax Syntax

getid3_dts::sampleRateLookup( int $index )

Parameters Parameters

$index

(Required)

Return Return

(int|string|false)

Source Source

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

	 *
	 * @return int|string|false
	 */
	public static function sampleRateLookup($index) {
		static $lookup = array(
			0  => 'invalid',
			1  => 8000,
			2  => 16000,
			3  => 32000,
			4  => 'invalid',
			5  => 'invalid',
			6  => 11025,
			7  => 22050,
			8  => 44100,
			9  => 'invalid',
			10 => 'invalid',
			11 => 12000,
			12 => 24000,
			13 => 48000,
			14 => 'invalid',
			15 => 'invalid',

Advertisement

Advertisement

Leave a Reply