audiocogs / mp3.js

A JavaScript MP3 decoder for Aurora.js
http://audiocogs.org/codecs/mp3
263 stars 45 forks source link

Silent refusal to decode mp3 files of length 2:48 and above, but not files 2:30 and below. #26

Open Frank-9976 opened 5 years ago

Frank-9976 commented 5 years ago

I'm not sure if this is an aurora.js problem or an mp3.js problem, but I have mp3 files of varying length and without fail (I have tested various conditions), asset.decodeToBuffer on mp3 files of length 2:48 and above neither error nor callback. However, audio files 2:30 and below do get decoded. I have more audio files than ones of length 2:30 and 2:48, but the patern is what has been stated. (Some are 0:12 and others are 3:36, same behavior.)

Frank-9976 commented 5 years ago

I have tested with ogg vorbis files of the same length, and ogg vorbis files successfully decode at length 2:48, so this seems to be an mp3 specific issue.

111116 commented 4 years ago

the live demo runs on my computer without a problem