Information
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

Silverlight

Gets or sets the length of the audio buffer.

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. For more information, see the “Buffer Management” section of Implementing MediaStream Sources.

Platform Notes

Silverlight for Windows Phone Silverlight for Windows Phone

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

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2014 Microsoft