AudioGraph.CreateAsync() | createAsync() method

Creates a default audio graph.

Syntax

Windows.Media.Audio.AudioGraph.createAsync().done( /* Your success and error handlers */ );
public static IAsyncOperation<CreateAudioGraphResult> CreateAsync()
Public Shared Function CreateAsync() As IAsyncOperation(Of CreateAudioGraphResult)
public:
static IAsyncOperation<CreateAudioGraphResult>^ CreateAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<CreateAudioGraphResult>

When this operation completes, a CreateAudioGraphResult object is returned.

Remarks

This method creates an audio graph in full default mode, which runs the graph using the default audio playback device as the "master device." It uses the mix format of the device as the default format, and has a quantum size of 10 ms, translated to samples at the default sample rate.

Requirements

Minimum supported client

Windows 10 Technical Preview

Minimum supported server

Windows Server Technical Preview

Minimum supported phone

Windows 10 Technical Preview for phones

Namespace

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

Metadata

Windows.winmd

See also

AudioGraph

CreateAsync(AudioGraphSettings)