[sldev] OpenAL patch updated

Callum Lerwick seg at haxxed.com
Mon Jun 25 21:59:51 PDT 2007


Alright, I finally got a chance to sit down and do some debugging on my
wife's x86_64 laptop. Turns out the crashyness was caused by not having
stub implementations of all the audio streaming calls, which only
affected x86_64 for some reason. There's still a bit of crashyness,
which I just realized is probably because I need to make stubs for the
wind noise calls too. Turning the wind volume slider all the way down
seems to avoid it.

I managed to fix the problems with doppler. Near as I can tell the sense
of scale in SL is just plain off, so I scale the doppler factor down by
a factor of 100 (!) which brings it down to a reasonable level. I tried
scaling the speed of sound up instead, but that caused overflows inside
OpenAL... I haven't bothered doing any comparison with fmod so I don't
know how this matches up with what fmod is doing.

http://www.haxxed.com/code/slviewer-1.17.0.12-openal-20070625.patch

And also now included in my Fedora package, just in time to be out of
date:

http://www.haxxed.com/rpms/secondlife/

Next step: Music streaming!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070625/e8529a64/attachment-0001.pgp


More information about the SLDev mailing list