VideoSink.AllocationMode Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies how the camera video buffer is maintained on Windows Phone.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Property AllocationMode As SampleAllocationMode
public SampleAllocationMode AllocationMode { get; set; }
Property Value
Type: System.Windows.Media..::.SampleAllocationMode
The sample allocation mode.
Remarks
ReuseBuffer can improve performance on Windows Phone by reducing the amount of garbage collection that is required
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone