Delen via


AudioGraphSettings.PrimaryRenderDevice Property

Definition

Gets or sets an object that represents the primary render device for the audio graph.

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

Property Value

An object that represents the primary render device for the audio graph.

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

If PrimaryRenderDevice is null, the default playback device will be used.

Applies to