good, bad, downright ugly
Colin Sarsfield
colin.sarsfield at usa.net
Sat Mar 6 18:49:46 UTC 1999
>The ugly news: the image says I can return 0 from insertSamplesEtc(), so I
>do. Shortly thereafter the SoundPlayer barfs up a subscript bounds error.
I came across this is my sound implementation for the BeOS. I found out that
the return value had to be >= the frameCount parameter passed to snd_Start.
If I remember correctly, the crashes seemed to become more common as the
value approached zero.
--Colin Sarsfield
--
--Colin Sarsfield
Resisting temptation is easier when you think you'll probably get
another chance later on.
More information about the Squeak-dev
mailing list
|