Skip to content

AudioSource

property

Delphi
property AudioSource: TAudioSource read GetAudioSource write SetAudioSource default DEF_AudioSource;
C++Builder
__property TAudioSource AudioSource = {read=GetAudioSource, write=SetAudioSource, default=0};
C#
public TAudioSource AudioSource { get; set; }
VB.NET
Public Property AudioSource As TAudioSource
C++/Qt
TAudioSource GetAudioSource ();
void SetAudioSource (TAudioSource Value);

Source used for the audio recording.

Remarks

Specifies the source used for the audio recording:

  • as_Default: uses the audio output of the video capture device if any, otherwise the current audio capture device,

  • as_UseExternalAudio: always uses the current audio capture device for the audio recording, even if the video capture device exposes an audio output,

  • as_UseMixAudioSample: uses the audio samples of the TVideoGrabber components associated by Mixer_AddAudioToMixer,

  • as_SpeakerOutput: uses the audio output of the sound card (records 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: generates an empty audio stream,

  • as_IPcamera: uses an IP camera as the audio source when previewing or recording a USB source, the screen or the video mixer.

The values are described in the TAudioSource type.