The Be Book Release Notes Release Notes Index

The Support Kit


System Beep

Declared in:  be/support/Beep.h
more...


Two new system beep functions:

The user is responsible for associating a system beep event with a soundfile; this is done through the Sounds preference. You can associate an event with a soundfile programmatically by using a BMediaFiles object; note that the API defined in Beep.h doesn't help in this regard.

Currently, the BeOS defines three system beep events: "Startup", "Beep", and "New E-mail". If you pass NULL to system_beep(), the "Beep" sound is played.

The old beep() function is supported, but deprecated. beep() is now a cover for

system_beep(NULL)


The Be Book Release Notes Release Notes Index

The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..