Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 2.13 KB

cbaseallocator-m-lalignment.md

File metadata and controls

61 lines (36 loc) · 2.13 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location ms.custom
Alignment of each buffer. The address of each buffer must be an even multiple of this value. The prefix must be calculated into the alignment; see CBaseAllocator::m\_lPrefix.
2b71b60a-feeb-4f09-bd56-e126eac8e150
CBaseAllocator::m_lAlignment member (Amfilter.h)
reference
4/26/2023
APIRef
kbSyntax
m_lAlignment
LibDef
Strmbase.lib
Strmbase.dll
Strmbasd.lib
Strmbasd.dll
UpdateFrequency5

CBaseAllocator::m_lAlignment member

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Alignment of each buffer. The address of each buffer must be an even multiple of this value. The prefix must be calculated into the alignment; see CBaseAllocator::m_lPrefix.

Syntax

long m_lAlignment;

Requirements

Requirement Value
Header
Amfilter.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseAllocator Class