devongovett/mp3.js — pull request #2 by gliese1337 (2012-06-20 19:52:42+00:00)
Title: Added 'end' event to decoder to indicate no more 'data' events.

The decoder now emits an 'end' event when it encounters a BUFLEN error, allowing listeners to be notified of when decoding has completed. I'm not sure if this is the best way to identify the end of a file, or what to do with LOSTSYNC, so consider this a feature request if there's an obviously better way to do it.
This corresponds with my 'end' event for Assets pull request on Aurora.js.