Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AudioGraphSettings.PrimaryRenderDevice Property

Definition

Namespace:
Windows.Media.Audio

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Requirements Description
App capabilities
backgroundMediaRecording

Remarks

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

Applies to


Feedback

Was this page helpful?