AudioStreamDescriptor.IsSelected Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the stream is currently in use by a MediaStreamSource.
public:
property bool IsSelected { bool get(); };
bool IsSelected();
public bool IsSelected { get; }
var boolean = audioStreamDescriptor.isSelected;
Public ReadOnly Property IsSelected As Boolean
Property Value
bool
true if the stream is currently in use by a MediaStreamSource; otherwise, false.
Implements
Remarks
IsSelected is true if the stream represented by the stream descriptor is currently selected by the media pipeline. For example, if it is currently in use by a MediaStreamSource. Otherwise, the value is false.
MediaStreamSource only raises the SampleRequested event for streams which are selected.