Wiki source for ioBeep


Show raw source

======**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
invokes SysBeep(1000)

//Cocoa://
kSystemSoundID_UserPreferredAlert

**iPhone**
kSystemSoundID_Vibrate or

**Unix**
XBell

**Windows**
call MessageBeep()

**BUGS**

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki