SPBPauseRecording
You can use the SPBPauseRecording function 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
SPBOpenDevice function.
DESCRIPTION
The SPBPauseRecording function pauses recording from the device specified by the inRefNum parameter. The recording must be asynchronous for this call to have any effect.
SPECIAL CONSIDERATIONS
You can call the SPBPauseRecording function at interrupt time.
ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the SPBPauseRecording function are
| Trap macro | Selector |
| _SoundDispatch | $02280014 |
RESULT CODES
| noErr | 0 | No error |
| siBadSoundInDevice | -221 | Invalid sound input device |