@@ -1644,6 +1644,9 @@ discard block |
||
1644 | 1644 | return false; |
1645 | 1645 | } |
1646 | 1646 | |
1647 | + /** |
|
1648 | + * @param string $pricestring |
|
1649 | + */ |
|
1647 | 1650 | public function ID3v2IsValidPriceString($pricestring) { |
1648 | 1651 | if (getid3_id3v2::LanguageLookup(substr($pricestring, 0, 3), true) == '') { |
1649 | 1652 | return false; |
@@ -1770,6 +1773,9 @@ discard block |
||
1770 | 1773 | return isset($ID3v2IsValidTextEncoding_cache[$this->majorversion][$textencodingbyte]); |
1771 | 1774 | } |
1772 | 1775 | |
1776 | + /** |
|
1777 | + * @param string $data |
|
1778 | + */ |
|
1773 | 1779 | public static function Unsynchronise($data) { |
1774 | 1780 | // Whenever a false synchronisation is found within the tag, one zeroed |
1775 | 1781 | // byte is inserted after the first false synchronisation byte. The |
@@ -1843,6 +1849,9 @@ discard block |
||
1843 | 1849 | return preg_match('#^.+/.+$#', $mimestring); |
1844 | 1850 | } |
1845 | 1851 | |
1852 | + /** |
|
1853 | + * @param integer $maxbits |
|
1854 | + */ |
|
1846 | 1855 | public static function IsWithinBitRange($number, $maxbits, $signed=false) { |
1847 | 1856 | if ($signed) { |
1848 | 1857 | if (($number > (0 - pow(2, $maxbits - 1))) && ($number <= pow(2, $maxbits - 1))) { |
@@ -409,6 +409,9 @@ discard block |
||
409 | 409 | } |
410 | 410 | |
411 | 411 | |
412 | + /** |
|
413 | + * @param string $TagFormat |
|
414 | + */ |
|
412 | 415 | public function MergeExistingTagData($TagFormat, &$tag_data) { |
413 | 416 | // Merge supplied data with existing data, if requested |
414 | 417 | if ($this->overwrite_tags) { |
@@ -474,6 +477,9 @@ discard block |
||
474 | 477 | return $tag_data_id3v1; |
475 | 478 | } |
476 | 479 | |
480 | + /** |
|
481 | + * @param integer $id3v2_majorversion |
|
482 | + */ |
|
477 | 483 | public function FormatDataForID3v2($id3v2_majorversion) { |
478 | 484 | $tag_data_id3v2 = array(); |
479 | 485 |
@@ -145,6 +145,9 @@ |
||
145 | 145 | return $RMFchunk; |
146 | 146 | } |
147 | 147 | |
148 | + /** |
|
149 | + * @param string $new_CONT_tag_data |
|
150 | + */ |
|
148 | 151 | public function GeneratePROPchunk(&$chunks, &$new_CONT_tag_data) { |
149 | 152 | $old_CONT_length = 0; |
150 | 153 | $old_DATA_offset = 0; |
@@ -105,6 +105,9 @@ |
||
105 | 105 | return $this->WriteVorbisComment(); |
106 | 106 | } |
107 | 107 | |
108 | + /** |
|
109 | + * @param integer $originalcommentname |
|
110 | + */ |
|
108 | 111 | public function CleanVorbisCommentName($originalcommentname) { |
109 | 112 | // A case-insensitive field name that may consist of ASCII 0x20 through 0x7D, 0x3D ('=') excluded. |
110 | 113 | // ASCII 0x41 through 0x5A inclusive (A-Z) is to be considered equivalent to ASCII 0x61 through |