WAVE_HEADER

This structure is a subheader for the audio header and is usually contained within the MMXWAV_HEADER structure. It contains descriptive information about the digital audio element, such as sample rate, or bits per sample. It is part of the standard presentation format for audio data and is returned on mmioGetHeader and used on mmioSetHeader when the HMMIO refers to an open audio or to an open movie file when the active track for this file is set to an audio track.

typedef struct _WAVE_HEADER {
  USHORT     usFormatTag;       /*  Type of wave format. */
  USHORT     usChannels;        /*  Number of channels. */
  ULONG      ulSamplesPerSec;   /*  Sampling rate. */
  ULONG      ulAvgBytesPerSec;  /*  Average bytes per second. */
  USHORT     usBlockAlign;      /*  Block alignment in bytes. */
  USHORT     usBitsPerSample;   /*  Bits per sample. */
} WAVE_HEADER;

typedef   WAVE _ HEADER   * PWAVE _ HEADER ;


[Back: VSD_DCB Field - ulReserved2]
[Next: WAVE_HEADER Field - usFormatTag]