WordPress at a glance
function is not described

getid3_ogg::OggPageSegmentLength() public WP 1.0

{} It's a method of the class: getid3_ogg{}

No Hooks.

Return

Int. Nothing.

Usage

$result = getid3_ogg::OggPageSegmentLength( $OggInfoArray, $SegmentNumber );
$OggInfoArray(array) (required)
-
$SegmentNumber(int)
-

Code of getid3_ogg::OggPageSegmentLength() WP 5.7.2

<?php
public static function OggPageSegmentLength($OggInfoArray, $SegmentNumber=1) {
	$segmentlength = 0;
	for ($i = 0; $i < $SegmentNumber; $i++) {
		$segmentlength = 0;
		foreach ($OggInfoArray['segment_table'] as $key => $value) {
			$segmentlength += $value;
			if ($value < 255) {
				break;
			}
		}
	}
	return $segmentlength;
}