AudioGraphSettings.PrimaryRenderDevice 屬性

定義

取得或設定 物件,表示音訊圖形的主要轉譯裝置。

public:
 property DeviceInformation ^ PrimaryRenderDevice { DeviceInformation ^ get(); void set(DeviceInformation ^ value); };
DeviceInformation PrimaryRenderDevice();

void PrimaryRenderDevice(DeviceInformation value);
public DeviceInformation PrimaryRenderDevice { get; set; }
var deviceInformation = audioGraphSettings.primaryRenderDevice;
audioGraphSettings.primaryRenderDevice = deviceInformation;
Public Property PrimaryRenderDevice As DeviceInformation

屬性值

物件,表示音訊圖形的主要轉譯裝置。

Windows 需求

應用程式功能
backgroundMediaRecording

備註

如果 PrimaryRenderDevice 為 null,則會使用預設播放裝置。

適用於