SPBPauseRecording
You can use theSPBPauseRecordingfunction to pause recording from a sound input device.
FUNCTION SPBPauseRecording (inRefNum: LongInt): OSErr;
inRefNum- The device reference number of the sound input device, as obtained from the
SPBOpenDevicefunction.DESCRIPTION
TheSPBPauseRecordingfunction pauses recording from the device specified by theinRefNumparameter. The recording must be asynchronous for this call to have any effect.SPECIAL CONSIDERATIONS
You can call theSPBPauseRecordingfunction at interrupt time.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSPBPauseRecordingfunction are
Trap macro Selector _SoundDispatch $02280014 RESULT CODES
noErr 0 No error siBadSoundInDevice -221 Invalid sound input device
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help