Can I play a .MP3 with Squeak?

Jason Dufair jase at dufair.org
Thu Nov 21 15:24:17 UTC 2002


Richard A. O'Keefe wrote:

>1.  Given that I can open movies and MIDI files from a FileList,
>    I was expecting to play MP3s the same way.  I would never have
>    guessed this.
>
This would indeed be nice.  Any changesets would be welcome.

>2.  I tried this, and the result was "Error: a primitive has failed.:
>    The primitive that failed was MPEGFile class>>isFileValidMPEG.
>    This was in Squeak 3.2 #4952, and I have no independent way of
>    checking whether the file _is_ a valid .mp3 or not, but it's
>    certainly not plain text, whatever it is.
>
>    The SqueakDebug.log didn't have anything illuminating in it; the
>    path to the file is right, and all it says is that primFileValidMPEG
>    failed, not _why_ it failed.
>
I'm not sure about Macintosh, but on Windows and Linux, I believe the 
plugin got rolled into the VM on some of the latest compiles.  If you 
have an old plugin lying around, it may choke on it.  I had this problem 
once and just deleted the plugin.

-- 
Jason Dufair - jase at dufair.org
http://www.dufair.org/
"Every word is like an unnecessary stain on silence and nothingness."
-- Beckett





More information about the Squeak-dev mailing list