Dela via


AudioStreamDescriptor.EncodingProperties Property

Definition

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.

Applies to

See also