StartAudioRecording
function StartAudioRecording: Boolean;
bool __fastcall StartAudioRecording();
public bool StartAudioRecording();
Public Function StartAudioRecording() As Boolean
BOOL StartAudioRecording ();
Starts the recording of the audio stream only.
Remarks
Used to start the recording of the audio stream only by using the current audio capture device.
However if the current video capture device has an audio output, it will be firstly used, so if to be sure use the current audio capture device and not the possible audio stream coming out the current video capture device, set VideoDevice = -1 to keep the video devices disabled.
When the HoldRecording parameter is set to "false", the recording starts as soon as the recording graph is built (after a variable number of seconds, depending of the video capture device, audio/video compressors, etc...).
When the HoldRecording parameter is set to "true", the recording graph is built and started in preview mode, and the recording is held until ResumeRecording has been invoked.
When the recording graph is built, the OnRecordingReadyToStart event occurs to signal that it is possible to invoke ResumeRecording when needed.
See the recording chapter for more information.