@@ -955,6 +955,9 @@ discard block |
||
955 | 955 | |
956 | 956 | |
957 | 957 | |
958 | + /** |
|
959 | + * @param boolean $scan_as_cbr |
|
960 | + */ |
|
958 | 961 | public function RecursiveFrameScanning(&$fd, &$info, &$offset, &$next_frame_test_offset, $scan_as_cbr) { |
959 | 962 | for ($i = 0; $i < getid3_mp3::VALID_CHECK_FRAMES; $i++) { |
960 | 963 | // check next getid3_mp3::VALID_CHECK_FRAMES frames for validity, to make sure we haven't run across a false synch |
@@ -1341,6 +1344,9 @@ discard block |
||
1341 | 1344 | |
1342 | 1345 | |
1343 | 1346 | |
1347 | + /** |
|
1348 | + * @param string $head4 |
|
1349 | + */ |
|
1344 | 1350 | public static function MPEGaudioHeaderBytesValid($head4, $allow_bitrate_15=false) { |
1345 | 1351 | |
1346 | 1352 | return getid3_mp3::MPEGaudioHeaderValid(getid3_mp3::MPEGaudioHeaderDecode($head4), false, $allow_bitrate_15); |
@@ -1462,6 +1468,9 @@ discard block |
||
1462 | 1468 | |
1463 | 1469 | |
1464 | 1470 | |
1471 | + /** |
|
1472 | + * @param integer $padding |
|
1473 | + */ |
|
1465 | 1474 | public static function MPEGaudioFrameLength(&$bit_rate, &$version, &$layer, $padding, &$sample_rate) { |
1466 | 1475 | |
1467 | 1476 | if (!isset($cache[$bit_rate][$version][$layer][$padding][$sample_rate])) { |
@@ -1611,6 +1620,9 @@ discard block |
||
1611 | 1620 | |
1612 | 1621 | |
1613 | 1622 | |
1623 | + /** |
|
1624 | + * @param integer $source_sample_frequency_id |
|
1625 | + */ |
|
1614 | 1626 | public static function LAMEmiscSourceSampleFrequencyLookup($source_sample_frequency_id) { |
1615 | 1627 | |
1616 | 1628 | static $lookup = array ( |
@@ -145,6 +145,9 @@ |
||
145 | 145 | |
146 | 146 | |
147 | 147 | |
148 | + /** |
|
149 | + * @param string $shortname |
|
150 | + */ |
|
148 | 151 | public static function VQFcommentNiceNameLookup($shortname) { |
149 | 152 | |
150 | 153 | static $lookup = array ( |
@@ -365,6 +365,9 @@ |
||
365 | 365 | |
366 | 366 | |
367 | 367 | |
368 | + /** |
|
369 | + * @param integer $id |
|
370 | + */ |
|
368 | 371 | public static function WavPackMetablockNameLookup($id) { |
369 | 372 | |
370 | 373 | static $lookup = array( |
@@ -306,6 +306,9 @@ |
||
306 | 306 | } |
307 | 307 | |
308 | 308 | |
309 | + /** |
|
310 | + * @param string $raw_data |
|
311 | + */ |
|
309 | 312 | public static function FixedPoint2_30($raw_data) { |
310 | 313 | |
311 | 314 | $binary_string = getid3_lib::BigEndian2Bin($raw_data); |
@@ -30,6 +30,10 @@ |
||
30 | 30 | |
31 | 31 | |
32 | 32 | // constructer - calculate md5/sha1 data |
33 | + |
|
34 | + /** |
|
35 | + * @param string $algorithm |
|
36 | + */ |
|
33 | 37 | public function __construct(getID3 $getid3, $algorithm) { |
34 | 38 | |
35 | 39 | $this->getid3 = $getid3; |
@@ -274,6 +274,10 @@ |
||
274 | 274 | |
275 | 275 | |
276 | 276 | // UTF-8 => UTF-16 |
277 | + |
|
278 | + /** |
|
279 | + * @param string $string |
|
280 | + */ |
|
277 | 281 | public static function iconv_utf8_utf16($string) { |
278 | 282 | return getid3_lib::iconv_utf8_utf16le($string, true); |
279 | 283 | } |
@@ -66,6 +66,9 @@ discard block |
||
66 | 66 | |
67 | 67 | |
68 | 68 | |
69 | + /** |
|
70 | + * @param string $iso_header |
|
71 | + */ |
|
69 | 72 | private function ParsePrimaryVolumeDescriptor(&$iso_header) { |
70 | 73 | |
71 | 74 | $getid3 = $this->getid3; |
@@ -151,6 +154,9 @@ discard block |
||
151 | 154 | |
152 | 155 | |
153 | 156 | |
157 | + /** |
|
158 | + * @param string $iso_header |
|
159 | + */ |
|
154 | 160 | private function ParseSupplementaryVolumeDescriptor(&$iso_header) { |
155 | 161 | |
156 | 162 | $getid3 = $this->getid3; |
@@ -426,6 +432,10 @@ discard block |
||
426 | 432 | |
427 | 433 | |
428 | 434 | |
435 | + /** |
|
436 | + * @param string $array_path |
|
437 | + * @param string $separator |
|
438 | + */ |
|
429 | 439 | public static function CreateDeepArray($array_path, $separator, $value) { |
430 | 440 | |
431 | 441 | // assigns $value to a nested array path: |
@@ -210,6 +210,9 @@ |
||
210 | 210 | |
211 | 211 | |
212 | 212 | |
213 | + /** |
|
214 | + * @param string $data |
|
215 | + */ |
|
213 | 216 | protected function ParseAPEheaderFooter($data, &$target) { |
214 | 217 | |
215 | 218 | // http://www.uni-jena.de/~pfk/mpp/sv8/apeheader.html |
@@ -303,6 +303,9 @@ |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | |
306 | + /** |
|
307 | + * @param string $genre |
|
308 | + */ |
|
306 | 309 | public static function LookupGenreID($genre, $allow_SCMPX_extended=false) { |
307 | 310 | |
308 | 311 | $lookup = getid3_id3v1::ArrayOfGenres($allow_SCMPX_extended); |