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 macro | Selector |
| _SoundDispatch | $022C0014 |
RESULT CODES
| noErr | 0 | No error |
| siBadSoundInDevice | -221 | Invalid sound input device |