-api-id | -api-type |
---|---|
M:Windows.Media.Audio.AudioGraph.CreateMediaSourceAudioInputNodeAsync(Windows.Media.Core.MediaSource) |
winrt method |
Creates a MediaSourceAudioInputNode that inputs audio data into the audio graph from the provided MediaSource object.
The MediaSource object from which audio data is input into the audio graph.
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.
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.
MediaSourceAudioInputNode, MediaSource, Media items, playlists, and tracks