UNCOMPRESSEDAUDIOFORMAT structure

The UNCOMPRESSEDAUDIOFORMAT structure specifies the frame rate, channel mask, and other attributes of the uncompressed audio data format.

Syntax


typedef struct {
  GUID  guidFormatType;
  DWORD dwSamplesPerFrame;
  DWORD dwBytesPerSampleContainer;
  DWORD dwValidBitsPerSample;
  FLOAT fFramesPerSecond;
  DWORD dwChannelMask;
} UNCOMPRESSEDAUDIOFORMAT;

Members

guidFormatType

Specifies the GUID of the data format type.

dwSamplesPerFrame

Specifies the number of samples per frame.

dwBytesPerSampleContainer

Specifies the number of bytes that make up a unit container of the sample.

dwValidBitsPerSample

Specifies the number of valid bits per sample.

fFramesPerSecond

Specifies the number of frames per second of streaming audio data.

dwChannelMask

Specifies the channel mask that is used by the uncompressed audio data.

Remarks

This structure provides access to the parameters that describe an uncompressed PCM audio format.

Requirements

Version

Available in Windows Vista and later versions of Windows.

Header

Audiomediatype.h (include Audiomediatype.h)

 

 

Send comments about this topic to Microsoft

Show: