This structure is the audio header and it describes attributes of an open audio file. It is the standard presentation format for audio data and is returned on an mmioGetHeader function call and is used on an mmioSetHeader function when the HMMIO refers to an open audio file or to an open movie file when the active track for this file is set to an audio track.
typedef struct _MMAUDIOHEADER { ULONG ulHeaderLength; /* Header length in bytes. */ ULONG ulContentType; /* Audio content type. */ ULONG ulMediaType; /* Media type. */ MMXWAV_HEADER mmXWAVHeader; /* Header. */ } MMAUDIOHEADER; typedef MMAUDIOHEADER * PMMAUDIOHEADER ;
Structure Layout for MMAUDIOHEADER
┌─────────────────────────────────┐ │ MMAUDIOHEADER │ │ ┌───────────────────────────┐ │ │ │ MMXWAV_HEADER │ │ │ │ ┌─────────────────────┐ │ │ │ │ │ WAVE_HEADER │ │ │ │ │ └─────────────────────┘ │ │ │ │ ┌─────────────────────┐ │ │ │ │ │ XWAV_HEADERINFO │ │ │ │ │ └─────────────────────┘ │ │ │ └───────────────────────────┘ │ └─────────────────────────────────┘