AudioStreamDescriptor.EncodingProperties 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 an object describing the encoding properties for the audio stream. These properties include the sample rate and channel count of the audio.
public:
property AudioEncodingProperties ^ EncodingProperties { AudioEncodingProperties ^ get(); };
AudioEncodingProperties EncodingProperties();
public AudioEncodingProperties EncodingProperties { get; }
var audioEncodingProperties = audioStreamDescriptor.encodingProperties;
Public ReadOnly Property EncodingProperties As AudioEncodingProperties
Property Value
The encoding properties on the audio stream.
Remarks
The application can change the encoding properties of the audio stream descriptor at any time.
If the media pipeline cannot handle the new encoding properties, a MediaStreamSource will raise the Closed event which provides information regarding the error.