Dela via


AudioGraph.PrimaryRenderDevice Property

Definition

Gets the primary render device for the audio graph.

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

Property Value

The primary render device for the audio graph.

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

Specify the primary rendering device for an audio graph by setting the AudioGraphSettings.PrimaryRenderDevice property before creating the audio graph with a call to CreateAsync.

Applies to