Share via


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

The audio source for the capture operation.

Windows requirements

App capabilities
backgroundMediaRecording

Applies to