TAudioSource
TAudioSource = (as_Default, as_UseExternalAudio, as_UseMixAudioSample, as_SpeakerOutput, as_DefaultWithSpeakerRecording, as_Silent, as_IPcamera);
Type of the AudioSource property.
Selects the source of the audio stream used by the preview and the recording. The audio is rendered during preview or recording only if AudioDeviceRendering is enabled, and recorded only if AudioRecording is enabled.
| Value | Description |
|---|---|
as_Default |
the audio of the current source if it has one (audio output of the video capture device, audio stream of the IP camera, video file or URL), otherwise the current audio capture device |
as_UseExternalAudio |
always the current audio capture device, even if the current source (e.g. a URL) has an audio stream |
as_UseMixAudioSample |
the audio samples of the TVideoGrabber components associated with this component by Mixer_AddAudioToMixer (and only them) |
as_SpeakerOutput |
the audio output of the sound card (captures whatever is rendered) |
as_DefaultWithSpeakerRecording |
(during recording only) if AudioDeviceRendering is enabled, the audio of the current source is rendered, but the audio output of the sound card is recorded |
as_Silent |
an empty (silent) audio stream |
as_IPcamera |
an IP camera, as the audio source of a USB source, of the screen or of the video mixer (VideoSource = vs_VideoCaptureDevice, vs_ScreenRecording or vs_Mixer). Set IPCameraURL and, if needed, SetAuthentication (at_IPCamera, ...) accordingly |