Expand Minimize

MF_MT_AUDIO_BLOCK_ALIGNMENT attribute

Block alignment, in bytes, for an audio media type. The block alignment is the minimum atomic unit of data for the audio format.

Data type

UINT32

Remarks

For PCM audio formats, the block alignment is equal to the number of audio channels multiplied by the number of bytes per audio sample.

This attribute corresponds to the nBlockAlign member of the WAVEFORMATEX structure.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFMediaType
Media Type Attributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft