Syntax Syntax
Parameters Parameters
- $OggInfoArray
-
(Required)
- $SegmentNumber
-
(Optional)
Default value: 1
Return Return
(int)
Source Source
File: wp-includes/ID3/module.audio.ogg.php
* @return int */ 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; } } }