Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.73 KB

mediasourceaudioinputnodecreationstatus.md

File metadata and controls

34 lines (23 loc) · 1.73 KB
-api-id -api-type
T:Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus
winrt enum

Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus

-description

Specifies the result status of a call to AudioGraph.CreateMediaSourceAudioInputNode.

-enum-fields

-field UnknownFailure:3

The MediaSourceAudioInputNode could not be created because of an unknown failure.

-field Success:0

The MediaSourceAudioInputNode was created successfully.

-field NetworkError:2

The MediaSourceAudioInputNode could not be created because of a network error.

-field FormatNotSupported:1

The MediaSourceAudioInputNode could not be created because the media content associated with the MediaSource is in a format that is not supported by the AudioGraph API.

-remarks

AudioGraph.CreateMediaSourceAudioInputNode returns an IAsyncOperation object that returns a CreateMediaSourceAudioInputNodeResult on completion. This object exposes a Status property, containing a value from this enumeration, that indicates either that the operation was successful or the reason why the operation failed. The Node property provides a reference to the created MediaSourceAudioInputNode on success.

-see-also

-examples