AudioGraph.CreateDeviceOutputNodeAsync AudioGraph.CreateDeviceOutputNodeAsync AudioGraph.CreateDeviceOutputNodeAsync AudioGraph.CreateDeviceOutputNodeAsync 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 : IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync()
IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync() const;
public IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync()
Public Function CreateDeviceOutputNodeAsync() As IAsyncOperation(Of CreateAudioDeviceOutputNodeResult)
Windows.Media.Audio.AudioGraph.createDeviceOutputNodeAsync().done( /* Your success and error handlers */ );

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.

Additional features and requirements

Capabilities
backgroundMediaRecording