hi_hdmi_audio_infoframe

Description

Defines the HDMI audio information frame unit.

Prototype

typedef struct {
    hi_hdmi_audio_chn_cnt chn_cnt;
    hi_hdmi_coding_type coding_type;
    hi_hdmi_audio_sample_size sample_size;
    hi_hdmi_audio_sample_freq sampling_freq;
    hi_u8 chn_alloc;
    hi_hdmi_level_shift_val level_shift;
    hi_hdmi_lfe_playback_level lfe_playback_level;
    hi_bool down_mix_inhibit;
} hi_hdmi_audio_infoframe;

Members

Member

Description

chn_cnt

Number of audio channels. In the current version, this parameter can only be set to HI_HDMI_AUDIO_CHN_CNT_2.

coding_type

Audio format. In the current version, this parameter can only be set to HI_HDMI_AUDIO_CODING_PCM.

sample_size

Audio sampling depth (bit width). In the current version, this parameter can only be set to HI_HDMI_AUDIO_SAMPLE_SIZE_16.

sampling_freq

enSamplingFrequency. In the current version, this parameter can only be set to HI_HDMI_AUDIO_SAMPLE_FREQ_48000.

chn_alloc

Channel/Speaker allocation. In the current version, this parameter can only be set to 0.

level_shift

Level shift value. In the current version, this parameter can only be set to HI_HDMI_LEVEL_SHIFT_VAL_0_DB.

lfe_playback_level

LFE playback level information. In the current version, this parameter can only be set to HI_HDMI_LFE_PLAYBACK_NO.

down_mix_inhibit

Down-mix inhibit flag. In the current version, this parameter can only be set to HI_FALSE.