Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.83 KB

audiograph_createmediasourceaudioinputnodeasync_989225096.md

File metadata and controls

31 lines (22 loc) · 1.83 KB
-api-id -api-type
M:Windows.Media.Audio.AudioGraph.CreateMediaSourceAudioInputNodeAsync(Windows.Media.Core.MediaSource)
winrt method

Windows.Media.Audio.AudioGraph.CreateMediaSourceAudioInputNodeAsync

-description

Creates a MediaSourceAudioInputNode that inputs audio data into the audio graph from the provided MediaSource object.

-parameters

-param mediaSource

The MediaSource object from which audio data is input into the audio graph.

-returns

An IAsyncOperation object that returns a CreateMediaSourceAudioInputNodeResult on completion. This object exposes a Status property, that indicates either that the operation was successful or the reason why the operation failed. The Node property provides a reference to the created input node on success.

-remarks

The MediaSource class provides a common representation of media content from different kinds of sources, such as files or network streams. For more information on working with MediaSource, see Media items, playlists, and tracks.

-see-also

MediaSourceAudioInputNode, MediaSource, Media items, playlists, and tracks

-examples