[Vm-dev] Sound is working on 64-bit Linux now

José L. Redrejo Rodríguez jredrejo at edu.juntaextremadura.net
Mon Apr 27 18:49:41 UTC 2009


El lun, 27-04-2009 a las 19:29 +0200, Bert Freudenberg escribió:
> 
> On 27.04.2009, at 18:17, José L. Redrejo Rodríguez wrote:
> 
> > El lun, 27-04-2009 a las 07:38 -0400, David T. Lewis escribió:
> >> See http://bugs.squeak.org/view.php?id=7103
> >>
> >> With these changes, sound works on 64-bit Linux ALSA and OSS for  
> >> both 32-bit
> >> and 64-bit images. There are changes to Cross/plugins/SoundPlugin/ 
> >> SoundPlugin.h
> >> so some updates will be required for win32 and Mac OS (minor  
> >> changes to
> >> pass pointers properly).
> >
> >
> > Hi David.
> > I think there are still some code that must be patched and you  
> > forgot to
> > include in the patch in mantis.
> > I've compiled the vm, patching the 3.10.4 sources and it still  
> > segfaults
> > (using Debian Lenny + alsa).
> >
> > I'm attaching the patch I've used (it should be the same patch you  
> > sent,
> > but unified and all in one file, but it might help to know what is
> > missed). The log is:
> >
> > patching file platforms/Cross/plugins/SoundPlugin/SoundPlugin.h
> > patching file platforms/unix/plugins/SoundPlugin/sqUnixSound.c
> > patching file platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c
> > patching file platforms/unix/vm-sound-MacOSX/sqUnixSoundMacOSX.c
> > patching file platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c
> > patching file platforms/unix/vm-sound-null/sqUnixSoundNull.c
> > patching file platforms/unix/vm-sound-OSS/sqUnixSoundOSS.c
> > patching file platforms/unix/vm-sound-Sun/sqUnixSoundSun.c
> > patching file platforms/unix/vm/SqSound.h
> >
> >
> > Regards
> > José L.
> > <sound64bits.dpatch>
> 
> 
> 
> You also need to regenerate the src/plugins/SoundPlugin.c file after  
> applying the SoundPlugin-64bit-dtl.1.cs changeset.



Thanks Bert, I  had missed that. Now it works perfectly, I'm sending
this email from an amd64 Lenny installation where Squeak sounds!!


Thanks very much David for your work, this has been an issue for a long
time.

The same problem is still there with RomePlugin and GstreamerPlugin,
both used in the eToys image. It would be great if you could also take a
look at them. I'll fill a bug in mantis for them if that's better to
track the problem.

Regards.
José L. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20090427/be229df3/attachment.pgp


More information about the Vm-dev mailing list