@@ -350,6 +350,9 @@ |
||
350 | 350 | |
351 | 351 | |
352 | 352 | |
353 | + /** |
|
354 | + * @param boolean $lfeon |
|
355 | + */ |
|
353 | 356 | public static function AC3channelsEnabledLookup($acmod, $lfeon) { |
354 | 357 | |
355 | 358 | return array ( |
@@ -119,6 +119,9 @@ discard block |
||
119 | 119 | |
120 | 120 | |
121 | 121 | |
122 | + /** |
|
123 | + * @param string $bonk_tag_name |
|
124 | + */ |
|
122 | 125 | private function HandleBonkTags(&$bonk_tag_name) { |
123 | 126 | |
124 | 127 | // Shortcut to getid3 pointer |
@@ -223,6 +226,9 @@ discard block |
||
223 | 226 | |
224 | 227 | |
225 | 228 | |
229 | + /** |
|
230 | + * @param string $possible_bonk_tag |
|
231 | + */ |
|
226 | 232 | public static function BonkIsValidTagName($possible_bonk_tag, $ignore_case=false) { |
227 | 233 | |
228 | 234 | $ignore_case = $ignore_case ? 'i' : ''; |
@@ -351,6 +351,9 @@ discard block |
||
351 | 351 | |
352 | 352 | |
353 | 353 | |
354 | + /** |
|
355 | + * @param integer $instrument_id |
|
356 | + */ |
|
354 | 357 | public static function GeneralMIDIinstrumentLookup($instrument_id) { |
355 | 358 | |
356 | 359 | static $lookup = array ( |
@@ -490,6 +493,9 @@ discard block |
||
490 | 493 | |
491 | 494 | |
492 | 495 | |
496 | + /** |
|
497 | + * @param integer $instrument_id |
|
498 | + */ |
|
493 | 499 | public static function GeneralMIDIpercussionLookup($instrument_id) { |
494 | 500 | |
495 | 501 | static $lookup = array ( |
@@ -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 | } |