Use the following code example for Audio InfoFrames:
typedef struct XHdmiC_Audio_InfoFrame {
unsigned char Version;
XHdmiC_AudioChannelCount ChannelCount;
XHdmiC_AudioCodingType CodingType;
XHdmiC_SampleSize SampleSize;
XHdmiC_SamplingFrequency SampleFrequency;
u8 CodingTypeExt;
u8 ChannelAllocation;
XHdmiC_LFEPlaybackLevel LFE_Playback_Level;
XHdmiC_LevelShiftValue LevelShiftVal;
unsigned char Downmix_Inhibit;
} XHdmiC_AudioInfoFrame;