[squeak-dev] Play MP3s in-image

DeNigris Sean sean at clipperadams.com
Mon Dec 13 16:52:20 UTC 2010


I extracted the mp3 support from Sophie.  It works in Squeak 4.1 and Pharo 1.1.1 on Mac OS 10.6.5

Load SophiePort from http://www.squeaksource.com/SPDProjectUpdates
Then try:
	song := StreamingMP3Sound onFileNamed: '/path/to/yourFavorite.mp3'.
	song play.
	song pause.

Question:
* there were checks like the following that had to be removed for Pharo 1.1.1: "WeakArray isFinalizationSupported ifFalse:[^anObject]".  Is this no longer necessary?

n.b. I am unclear about the license - Sophie has one license, the code itself seems to be SqueakL.  Do your own investigation.

Sean





More information about the Squeak-dev mailing list