Düzenle

Aracılığıyla paylaş


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

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFMediaType

Media Type Attributes