Next: Data Retrieval, Up: Audio Recorder [Contents][Index]
The following methods control the recording process.
Record audio without blocking using the audiorecorder object recorder until stopped or paused by the stop or pause method. Given the optional argument length, record for length seconds.
Record audio with blocking (synchronous I/O). You must specify the length of the recording in seconds.
Pause recording with audiorecorder object recorder.
Resume recording with the paused audiorecorder object recorder.
Stop the audiorecorder object recorder and clean up any audio streams.
Return 1 if the audiorecorder object recorder is currently recording audio and 0 otherwise.