Export (0) Print
Expand All
Expand Minimize

MF_MT_AUDIO_BITS_PER_SAMPLE attribute

Number of bits per audio sample in an audio media type.

Data type

UINT32

Remarks

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

If some bits contain padding, set the MF_MT_AUDIO_VALID_BITS_PER_SAMPLE attribute to specify the number of bits of valid audio data in each sample.

If the audio contains 8 bits per sample, the audio samples are unsigned values. (Each audio sample has the range 0–255.) If the audio contains 16 bits per sample or higher, the audio samples are signed values.

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