Revision [190]
This is an old revision of ioBeep made by JohnMcIntosh on 2008-10-16 23:40:06.
sqInt ioBeep(void)
Parms: NONE
return: NONE, fake return of zero
From: Interpreter
Why:
to beep
Responsibility:
Generally we use the most direct way to play an alert sound.
Some platforms may play this sound asynchronously.
This avoids having the Squeak VM startup the huge sound system to Beep.
Sadly the "self beep" now runs off to the sound system, you must call Beeper beepPrimitive to invoke this logic.
MacIntosh
os-9/OSXCarbon
OS-9 etc would play the sound and wait. In os-x it would play asynchronously. If you
had a beep/quit VM type of action then it was possible you would never hear the beep in os-x, as compared to os-9
SysBeep(1000)
Cocoa:
TBD
iPhone
kSystemSoundID_Vibrate or kSystemSoundID_UserPreferredAlert
Unix
XBell
Windows
call MessageBeep()
BUGS