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 theSPBResumeRecordingfunction 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
SPBOpenDevicefunction.DESCRIPTION
TheSPBResumeRecordingfunction resumes recording from the device specified by theinRefNumparameter. Recording on that device must previously have been paused by a call to theSPBPauseRecordingfunction forSPBResumeRecordingto have any effect.SPECIAL CONSIDERATIONS
You can call theSPBResumeRecordingfunction at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSPBResumeRecordingfunction are
Trap macro Selector _SoundDispatch $022C0014 RESULT CODES
noErr 0 No error siBadSoundInDevice -221 Invalid sound input device