The fastest PHP library to extract mp3 meta information (duration, bitrate, samplerate and so on) and tags (id3v1, id3v2).
GNU Lesser General Public License v3.0
139
stars
41
forks
source link
const FRAME_SYNC missing #9
Closed
kainabel closed 5 years ago
e.g. for line 27:
const FRAME_SYNC = 0xffe0; // bit mask
and
return ($raw == self::TAG2_SYNC || (self::FRAME_SYNC == (unpack('n*', $raw)[1] & self::FRAME_SYNC)));
as a replacement for https://github.com/wapmorgan/Mp3Info/blob/1f083faf60401a1e833309ba48147123c507c4a4/src/Mp3Info.php#L669