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


NewRecording

soundChannel:NewRecording()

Creates and returns a new *protoSoundChannel frame that is properly initialized for sound input.

return value
A frame whose _proto slot is set to *protoSoundChannel and whose direction slot is set to 'record.

DISCUSSION

Note that you send this message directly to the proto itself, not your instantiation of the proto. Sending this message creates a new sound channel based on the proto. Here is an example of how to call this method:

myChannel := protoSoundChannel:NewRecording();


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