getid3_dts::numChannelsLookup

Advertisement

Syntax Syntax

getid3_dts::numChannelsLookup( int $index )

Parameters Parameters

$index

(Required)

Return Return

(int|false)

Source Source

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

	 *
	 * @return int|false
	 */
	public static function numChannelsLookup($index) {
		switch ($index) {
			case 0:
				return 1;
			case 1:
			case 2:
			case 3:
			case 4:
				return 2;
			case 5:
			case 6:
				return 3;
			case 7:
			case 8:
				return 4;
			case 9:
				return 5;
			case 10:
			case 11:
			case 12:
				return 6;
			case 13:
				return 7;
			case 14:
			case 15:
				return 8;
		}
		return false;
	}

	/**
	 * @param int $index
	 *
	 * @return string

Advertisement

Advertisement

Leave a Reply