AudioGraph.PrimaryRenderDevice 屬性

定義

取得音訊圖形的主要轉譯裝置。

public:
 property DeviceInformation ^ PrimaryRenderDevice { DeviceInformation ^ get(); };
DeviceInformation PrimaryRenderDevice();
public DeviceInformation PrimaryRenderDevice { get; }
var deviceInformation = audioGraph.primaryRenderDevice;
Public ReadOnly Property PrimaryRenderDevice As DeviceInformation

屬性值

音訊圖形的主要轉譯裝置。

Windows 需求

應用程式功能
backgroundMediaRecording

備註

使用CreateAsync呼叫建立音訊圖形之前,先設定AudioGraphSettings.PrimaryRenderDevice屬性,以指定音訊圖形的主要轉譯裝置。

適用於