次の方法で共有


AudioSink.CaptureSource Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a capture source that is associated with this AudioSink.

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

Syntax

'Declaration
Public Property CaptureSource As CaptureSource
public CaptureSource CaptureSource { get; set; }

Property Value

Type: System.Windows.Media.CaptureSource
A capture source that is associated with this AudioSink.

Remarks

A CaptureSource represents capture data from either an audio or video device. However, the capture source does not enable access to raw data. To get audio data directly, you must override OnSamples.

You can also use a CaptureSource as input for other APIs. However, Silverlight 5 APIs only use CaptureSource in a video scenario where audio may not be relevant. For more information, see VideoBrush.SetSource.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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