Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 3 - Sound Input Manager / Sound Input Manager Reference
Sound Input Manager Routines / Recording Sounds Directly From Sound Input Devices


Legacy Documentclose button

Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.

SPBResumeRecording

You can use the SPBResumeRecording function to resume recording from a sound input device.

FUNCTION SPBResumeRecording (inRefNum: LongInt): OSErr;
inRefNum
The device reference number of the sound input device, as obtained from the SPBOpenDevice function.
DESCRIPTION
The SPBResumeRecording function resumes recording from the device specified by the inRefNum parameter. Recording on that device must previously have been paused by a call to the SPBPauseRecording function for SPBResumeRecording to have any effect.

SPECIAL CONSIDERATIONS
You can call the SPBResumeRecording function at interrupt time.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the SPBResumeRecording function are
Trap macroSelector
_SoundDispatch$022C0014

RESULT CODES
noErr0No error
siBadSoundInDevice-221Invalid sound input device

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996