Can I play a .MP3 with Squeak?

Karl Ramberg karl.ramberg at chello.se
Fri Nov 22 22:26:38 UTC 2002


John M McIntosh wrote:
> 
> Ok, I'll take credit for not having a check in the mpeg3 logic to see
> if the plugin exists
> first. However I throw it back as a project to someone to alter the
> smalltalk code to
> use SystemDictionary listBuiltinModules (listLoadedModules) which
> produces arrays
> of the form 'Matrix2x3Plugin 14 November 2002 (i)' to check for a
> particular version
> or a version and a particular date, and change the code in plugin
> instance creation methods to make
> a call to see if the plugin exists
> 
> Of course thinking further on this it seems we really need a call to
> check for the existence of a plugin, or at
> the point we fail to load the plugin mm I wonder if in <primitive:
> 'primitiveMPEG3EndOfAudio' module:'Mpeg3Plugin'>
> one could recompile them all and do a sanity check and invoke better
> feedback if the module or api name does not exist.
> Tossing an exception comes to mind versus the rather meager
> primtiveFail logic we have now

This seems even more important now that stuff is being pulled out of the 
image. A hook to SM to download the stuff in question would be nice.

Karl



More information about the Squeak-dev mailing list