MediaCaptureInitializationSettings.AudioSource 属性

定义

获取或设置捕获操作的音频源。

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

属性值

捕获操作的音频源。

Windows 要求

应用功能
backgroundMediaRecording

适用于