Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 7 - Sound / Sound Reference
Functions /


RegSound

RegSound(symbol, soundFrame)

Registers a sound with the system so it is listed as a choice for the system alert sound.

symbol
A symbol identifying the sound. Be sure to append your developer signature to this symbol so the sound is uniquely identified.

soundFrame
A sound frame, as described in "Sound Frame". This frame should additionally contain a userName slot that holds a string. This string is used as the value of the item slot in the frames constructed by the *SoundList function.

return value
Undefined; do not rely on it.

DISCUSSION

To unregister a sound, use *UnRegSound.

You can get a list of all registered sounds by calling *SoundList.

Note
This global function exists in both the Newton 2.0 and 2.1 operating systems. It was not previously documented for 2.0.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help