Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Appendix A - Newton Toolkit Enhancements / Functions
/


GetSoundFrame

GetSoundFrame(nameString)

Retrieves a sound from an open Macintosh sound resource.

nameString
A string specifying the name of the sound resource to be retrieved.

return value
A sound frame containing a sound in whatever format is specified in the source sound resource. For details on the sound frame, see "Sound Frame".

DISCUSSION

This function is similar to the older GetSound and GetSound11 build-time functions. However, those functions require the sound to conform to a particular sampling rate, while *GetSoundFrame is capable of loading sounds of any type. The Newton device, of course, will only play certain kinds of sounds.


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