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


Sound Error Codes

Table 7-8 lists error codes returned by the sound interface and describes possible causes for each.

Table 7-8 Sound interface error codes
Error codePossible causes
-30000Error scheduling node; or codec channel aborted; or no driver found; or channel open; or no sound port; or attempt to do synchronous input.
-30002Internal sound manager error
-30003All sound stopped (power off or other problem)
-30006Internal resource conflict
-30007Internal resource conflict
-30008*Start called with nothing scheduled; or cancel called for nonexistent node; or codec called with zero-length samples.
-30009Unable to create codec; or bad value for sndFrameType slot; or bad value for compressionType slot; or bad value for dataType slot; or invalid samplingRate slot; or input not implemented on target hardware; or driver doesn't support output or input.
-30010Channel aborted (kChannelAborted returned to sound frame *Callback method); or channel stopped (returned to sound frame *Callback method); or attempt to make call to closed channel; or unable to start channel; or unable to pause channel; or unable to schedule block; or unable to cancel channel; or unable to stop channel.
-30011Channel cancelled (sound frame *Callback method called); or channel aborted (sound frame *Callback method called).

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