AudioSink.CaptureSource Property

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

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

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

Syntax

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, Windows Phone APIs only use CaptureSource in a video scenario where audio may not be relevant. For more information, see VideoBrush..::.SetSource.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

AudioSink Class

System.Windows.Media Namespace