Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MF_MT_AUDIO_VALID_BITS_PER_SAMPLE attribute

Number of valid bits of audio data in each audio sample.

Data type

UINT32

Remarks

The MF_MT_AUDIO_VALID_BITS_PER_SAMPLE attribute is used for audio formats that contain padding after each audio sample. The total size of each audio sample, including padding bits, is given in the MF_MT_AUDIO_BITS_PER_SAMPLE attribute.

If the MF_MT_AUDIO_VALID_BITS_PER_SAMPLE attribute is not set, use the MF_MT_AUDIO_BITS_PER_SAMPLE attribute to find the number of valid bits per sample.

If an audio format does not contain any padding bits, then this attribute should not be set, or should be set to the same value as the MF_MT_AUDIO_BITS_PER_SAMPLE attribute.

This attribute corresponds to the wValidBitsPerSample member of the WAVEFORMATEXTENSIBLE 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

Alphabetical List of Media Foundation Attributes
IMFAttributes::GetUINT32
IMFAttributes::SetUINT32
IMFMediaType
Media Type Attributes

 

 

Show:
© 2016 Microsoft