AudioCaptureDevice.DesiredFormat Property

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

Gets or sets the desired audio format to be used by this audio capture device.

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

Syntax

Public Property DesiredFormat As AudioFormat
public AudioFormat DesiredFormat { get; set; }

Property Value

Type: System.Windows.Media..::.AudioFormat
The desired audio format, as an AudioFormat object, that is used by this audio capture device. The default value is nullNothingnullptra null reference (Nothing in Visual Basic).

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

AudioCaptureDevice Class

System.Windows.Media Namespace