All Databases
Inside Mac - Sound Mgr
SysBeep
SysBeep
Play a system alert sound
#include <
OSUtils.h
>
Sound Manager
void
SysBeep
(
duration
);
short
duration
; ignored, it used to be used as the duration (in ticks)
of the resulting sound
The
SysBeep
procedure causes the
Sound Manager
to play the system alert
sound selected in the
Sound
control panel.
duration
This parameter is no longer used, yet it is still required. It used to
specifiy the duration (in ticks) of the resulting sound and is used
only on a Macintosh Plus, Macintosh SE, or Macintosh Classic when
the system alert sound is the Simple Beep. In all other cases, the
duration
parameter is ignored, but you must specify it when you
call this procedure.
Returns:
none
Notes: The volume of the sound produced depends on the setting of the current
speaker volume, which the user can adjust in the
Sound
control panel. If
the speaker volume has been set to 0 (silent) and the system alert sound is
enabled,
SysBeep
causes the menu bar to blink once.
Referenced by (64):
None
Playing Sound Resources
Producing an Alert Sound
Using the Sound Manager
May 93 - Inside Inside Out II (Frameworks Archive)
Calling a Code Resource (Inside Mac - Index)
List Manager Demo (Inside Mac - Index)
Printing a Text File (Inside Mac - Index)
Sound Manager (Inside Mac - Index)
Utilities, Operating System (Inside Mac - Index)
Creating Offscreen Bitmaps (Inside Mac - Basic Toolbox)
ErrorSound (Inside Mac - Basic Toolbox)
Playing Sound Resources (Inside Mac - Sound Mgr)
Producing an Alert Sound (Inside Mac - Sound Mgr)
SndGetSysBeepState (Inside Mac - Sound Mgr)
Using the Sound Manager (Inside Mac - Sound Mgr)
Filter Procs (MacTech Vol 01-1984-5)
Sep 85 Mousehole (MacTech Vol 01-1984-5)
DA Prototype (MacTech Vol 02-1986)
IAC Driver 2 (MacTech Vol 04-1988)
Virus (MacTech Vol 04-1988)
ADB Demo (MacTech Vol 05-1989)
Boot Disk Icon (MacTech Vol 05-1989)
Cursor Wrap (MacTech Vol 05-1989)
Quadratic Plotters (code) (MacTech Vol 05-1989)
Extend Modal Dialog (MacTech Vol 06-1990)
Jan 90 Letters (MacTech Vol 06-1990)
May 90 Letters (MacTech Vol 06-1990)
Object Lists (MacTech Vol 06-1990)
Spiffy Color 1 (MacTech Vol 06-1990)
Track, Field 1 (MacTech Vol 06-1990)
Undo, TCommand (MacTech Vol 06-1990)
IAC Toolkit 2 (MacTech Vol 07-1991)
Password (MacTech Vol 07-1991)
Vital Signs (MacTech Vol 07-1991)
C or Pascal? (MacTech Vol 08-1992)
Event Programming (MacTech Vol 08-1992)
Print Dialogs (MacTech Vol 08-1992)
Rotten Apple (MacTech Vol 08-1992)
Separate Data, Code (MacTech Vol 08-1992)
TextBoxer (MacTech Vol 08-1992)
A4, Code Resources (MacTech Vol 09-1993)
Bitmapper (MacTech Vol 09-1993)
Color Animation (MacTech Vol 09-1993)
Color Basics (MacTech Vol 09-1993)
ColorMondrian (MacTech Vol 09-1993)
Date FKEY (MacTech Vol 09-1993)
Dialogger (MacTech Vol 09-1993)
EPSF Files (MacTech Vol 09-1993)
May 93 Challenge (MacTech Vol 09-1993)
PictButton (MacTech Vol 09-1993)
XCMD Shell (MacTech Vol 09-1993)
Color (MacTech Vol 10-1994)
Feb 94 Tips (MacTech Vol 10-1994)
Rolling MDEF (MacTech Vol 10-1994)
Internet Config (MacTech Vol 11-1995)
Jul 95 Tips (MacTech Vol 11-1995)
PowerPlant (MacTech Vol 11-1995)
Sprocket Menus 4 (MacTech Vol 11-1995)
TCL and VA 2 (MacTech Vol 11-1995)
Feb 99 Factory Floor (MacTech Vol 15-1999)
Spring 91 - THREADS ON THE MACINTOSH (develop - 1991)
Winter 91 - THE POWER OF MACINTOSH COMMON LISP (develop - 1991)
March 95 - A First Look at Dylan: Classes, Functions, and Modules (develop - 1995)