MediaSourceAudioInputNodeCreationStatus MediaSourceAudioInputNodeCreationStatus MediaSourceAudioInputNodeCreationStatus MediaSourceAudioInputNodeCreationStatus MediaSourceAudioInputNodeCreationStatus Enum

Definition

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

public : enum class MediaSourceAudioInputNodeCreationStatus
enum class winrt::Windows::Media::Audio::MediaSourceAudioInputNodeCreationStatus : int32_t
public enum MediaSourceAudioInputNodeCreationStatus
Public Enum MediaSourceAudioInputNodeCreationStatus
var value = Windows.Media.Audio.MediaSourceAudioInputNodeCreationStatus.formatNotSupported;
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Fields

FormatNotSupported FormatNotSupported FormatNotSupported FormatNotSupported 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.

NetworkError NetworkError NetworkError NetworkError NetworkError 2

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

Success Success Success Success Success 0

The MediaSourceAudioInputNode was created successfully.

UnknownFailure UnknownFailure UnknownFailure UnknownFailure UnknownFailure 3

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

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.