Share via


AudioGraph.CreateDeviceOutputNodeAsync Method

Definition

Creates a new AudioDeviceOutputNode that outputs audio data from the audio graph to the system's default output device, such as speakers or headphones.

public:
 virtual IAsyncOperation<CreateAudioDeviceOutputNodeResult ^> ^ CreateDeviceOutputNodeAsync() = CreateDeviceOutputNodeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync();
function createDeviceOutputNodeAsync()
Public Function CreateDeviceOutputNodeAsync () As IAsyncOperation(Of CreateAudioDeviceOutputNodeResult)

Returns

An asynchronous operation that returns a CreateAudioDeviceOutputNodeResult on completion. This object exposes a Status property, that indicates either that the operation was successful or the reason why the operation failed. The DeviceOutputNode property provides a reference to the created output node on success.

Attributes

Windows requirements

App capabilities
backgroundMediaRecording

Applies to