MediaCaptureInitializationSettings.AudioSource Property

Definition

Gets or sets the audio source for the capture operation.

public:
 property IMediaSource ^ AudioSource { IMediaSource ^ get(); void set(IMediaSource ^ value); };
IMediaSource AudioSource();

void AudioSource(IMediaSource value);
public IMediaSource AudioSource { get; set; }
var iMediaSource = mediaCaptureInitializationSettings.audioSource;
mediaCaptureInitializationSettings.audioSource = iMediaSource;
Public Property AudioSource As IMediaSource

Property Value

IMediaSource

The audio source for the capture operation.

Windows 10 requirements

App capabilities
backgroundMediaRecording

Applies to