Bug: disableSounds preference spontaniously becomes false
Chris Reuter
cgreuter at calum.csclub.uwaterloo.ca
Wed Nov 18 05:25:52 UTC 1998
Hi all,
I just installed Squeak 2.2 on a Solaris PC and then installed updates
from the web up to "393ChangeSetMsgs-di.cs". I then switched off
sound (set disableSounds to true on the new preferences window),
opened "Play With Me-4" and clicked the next-page button. The system
proceeded to set disableSounds to false and then hang inside
SoundPlayer.
It seems that AbstractSound>>play ends up calling
SoundPlayer class>>startPlayerProcessBufferSize:rate:stereo:, which
enables sound. The complete stack trace can easily be found by
putting a breakpoint in SoundPlayer class>>startUp.
I'd post a patch but I don't know the sound system well enough to know
_where_ the fix ought to go.
--Chris
More information about the Squeak-dev
mailing list
|