[Vm-dev] [VM-team] SoundPlugin updates for 64-bit (Mantis 7103)

John M McIntosh johnmci at smalltalkconsulting.com
Tue Dec 29 19:13:47 UTC 2009

Ok, next week I'm somewhat on vacation but was planning to review the 64bit changes I have.  
Some of which are sound related. 

I would also like to push the iphone/64 bit work into the squeakvm svn. I'll need to restructure the 
isqueak svn a bit first to take it back to the original vmmaker tree structure and to "obsolete" the 
older macintosh VM files into a subdirectory. 

On 2009-12-29, at 11:09 AM, David T. Lewis wrote:

> Updates to the platforms code and VMMaker are needed to make SoundPlugin
> work on 64-bit platforms. This is a coordinated change affecting all platforms.
> I'm not sure of folks' schedules right now, so Ian, John, Andreas - are you
> available to do the updates over say the next two weeks or so?
> The following steps are required:
> Dave:
> - Update SoundPlugin in VMMaker with patches from Mantis 7103.
> Ian:
> - Update platforms/Cross and platforms/unix. The diffs on Mantis 7103
>   are slightly out of date, so I am attaching a fresh copy of the affected
>   files (M7103-platforms.tgz).
>   These are:
>       platforms/Cross/plugins/SoundPlugin/SoundPlugin.h
>       platforms/unix/plugins/SoundPlugin/sqUnixSound.c
>       platforms/unix/vm/SqSound.h
>       platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c
>       platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c
>       platforms/unix/vm-sound-Sun/sqUnixSoundSun.c
>       platforms/unix/vm-sound-MacOSX/sqUnixSoundMacOSX.c
>       platforms/unix/vm-sound-null/sqUnixSoundNull.c
>       platforms/unix/vm-sound-OSS/sqUnixSoundOSS.c
> Andreas:
> - Update platforms/win32/plugins/SoundPlugin/sqWin32Sound.c to match
>   the new declarations in SoundPlugin.h. I believe this will involve only
>   changing various int declarations to the appropriate sqInt or (void *)
>   declarations, then testing to make sure sound still works. However, I
>   have not tried a windows build to verify this.
> John:
> - Update the files in platforms/Mac OS/plugins/SoundPlugin/ with declarations
>   to match SoundPlugin.h in Cross. I'm not sure what needs to be done here,
>   although I think that current OS X support is based on the unix SoundPlugin,
>   so you may be able to use the update in platforms/unix.
> - I'm not sure of the implications (if any) for your new VM work or for iPhone.

John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com

More information about the Vm-dev mailing list