Düzenle

Aracılığıyla paylaş


MF_MT_AUDIO_SAMPLES_PER_SECOND attribute

Number of audio samples per second in an audio media type.

Data type

UINT32

Remarks

This attribute corresponds to the nSamplesPerSec 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

MF_MT_AUDIO_FLOAT_SAMPLES_PER_SECOND