hi_aenc_attr_aac

Description

Defines the attributes of the AAC encoding protocol.

Definition

typedef struct {
    hi_aac_type     aac_type; 
    hi_aac_bps      bit_rate;  
    hi_audio_sample_rate sample_rate; 
    hi_audio_bit_width   bit_width;  
    hi_audio_snd_mode    snd_mode;   
    hi_aac_transport_type   transport_type;
    hi_s16          band_width;  
} hi_aenc_attr_aac;

Members

Member

Description

aac_type

AAC encoding and decoding protocol type. Currently, only HI_AAC_TYPE_AACLC is supported.

bit_rate

AAC encoding and decoding protocol bit rate. Currently, as only 48 kHz sampling rate is supported, the supported bit rate ranges from 48 kbit/s to 256 kbit/s in mono channel mode.

sample_rate

Sampling rate. Currently, only 48 kHz is supported.

bit_width

Bit width. Currently, only 16 bits are supported.

snd_mode

Sound channel. Currently, only the mono channel is supported.

transport_type

Transmission encapsulation type of AAC encoding and decoding protocols. Currently, only the HI_AAC_TRANSPORT_TYPE_ADTS type is supported.

band_width

Frequency range. The value can be 0 or in the range [1000, 24000].