The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSource.AudioBufferLength Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the length of the audio buffer. The value of this property is ignored on Windows Phone OS 7.1 and Windows Phone OS 8.0.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

protected internal int AudioBufferLength { get; set; }

Property Value

Type: System.Int32
The length of the audio buffer in milliseconds. The value must be between 15 and 1000. The default value is 1000, which is a one second buffer.

This property is used to set the size of the audio buffer of the media pipeline.

Developers should set this property before calling ReportOpenMediaCompleted, if they want to use a value other than the default.

Version Notes

Windows Phone

 This property also sets the size of the video buffer in Windows Phone.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone