CaptureSource Property
Collapse the table of content
Expand the table of content

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)

public CaptureSource CaptureSource { get; set; }

Property Value

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

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft