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
Protos / protoSoundChannel


Close

soundChannel:Close()

Closes an open sound channel.

return value
Undefined; do not rely on it.

DISCUSSION

This method frees the system resources allocated for the sound channel. It throws the exception |evt.ex.fr| if an error occurs.

IMPORTANT

The operating system memory allocated for a sound channel by the Open method is not released when the soundChannel frame is garbage-collected. You must call the *Close method explicitly to free this memory and avoid memory leaks.

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