Share via


AudioGraph.CreateDeviceOutputNodeAsync(AudioRenderCategory) | createDeviceOutputNodeAsync(AudioRenderCategory) method

Creates a device output node for the indicated audio rendering category.

Syntax

audioGraph.createDeviceOutputNodeAsync(category).done( /* Your success and error handlers */ );
public IAsyncOperation<CreateAudioDeviceOutputNodeResult> CreateDeviceOutputNodeAsync(
  AudioRenderCategory category
)
Public Function CreateDeviceOutputNodeAsync(
  category As AudioRenderCategory 
) As IAsyncOperation(Of CreateAudioDeviceOutputNodeResult)
public:
IAsyncOperation<CreateAudioDeviceOutputNodeResult>^ CreateDeviceOutputNodeAsync(
  AudioRenderCategory category
)

Parameters

  • category
    Type: AudioRenderCategory

    An enumeration value indicating the audio rendering category.

Return value

Type: IAsyncOperation<CreateAudioDeviceOutputNodeResult>

When this operation completes, a CreateAudioDeviceOutputNodeResult object is returned.

Requirements

Minimum supported client

Windows 10 Technical Preview

Minimum supported server

Windows Server Technical Preview

Namespace

Windows.Media.Audio Windows::Media::Audio [C++]

Metadata

Windows.winmd

See also

AudioGraph

CreateDeviceOutputNodeAsync(AudioRenderCategory, AudioEncodingProperties)

CreateDeviceOutputNodeAsync(AudioRenderCategory, AudioEncodingProperties, DeviceInformation)