共用方式為


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

適用於