Audio encoding parameters

Updated: April 19, 2023

Synopsis:

#include <OMXAL/OpenMAXAL_QNXConfigExt.h>

Configuration keys:

#define XAQ_CONFIGEXT_KEY_ENC_VAD ((const XAchar*) "audio_encoder.VAD")
#define XAQ_CONFIGEXT_KEY_ENC_DTX ((const XAchar*) "audio_encoder.DTX")
#define XAQ_CONFIGEXT_KEY_ENC_FRAMESIZE ((const XAchar*) "audio_encoder.EncodingFrameSize")
#define XAQ_CONFIGEXT_KEY_ENC_APPLICATION ((const XAchar*) "audio_encoder.EncodingApplication")
#define XAQ_CONFIGEXT_KEY_ENC_BANDWIDTH ((const XAchar*) "audio_encoder.EncodingBandwidth")
#define XAQ_CONFIGEXT_KEY_ENC_CBR ((const XAchar*) "audio_encoder.EncodingCBR")
#define XAQ_CONFIGEXT_KEY_ENC_CVBR ((const XAchar*) "audio_encoder.EncodingCvbr")
#define XAQ_CONFIGEXT_KEY_ENC_COMPLEXITY ((const XAchar*) "audio_encoder.EncodingComplexity")
#define XAQ_CONFIGEXT_KEY_ENC_ENCODINGDTX ((const XAchar*) "audio_encoder.EncodingDTX")
#define XAQ_CONFIGEXT_KEY_ENC_PCKTLOSS ((const XAchar*) "audio_encoder.EncodingPacket_loss_perc")
#define XAQ_CONFIGEXT_KEY_ENC_OPUS_MODE ((const XAchar*) "audio_encoder.EncodingOpus_mode")
#define XAQ_CONFIGEXT_KEY_ENC_MAX_PAYLOAD ((const XAchar*) "audio_encoder.EncodingMax_payload")
#define XAQ_CONFIGEXT_KEY_ENC_INBAND_FEC ((const XAchar*) "audio_encoder.EncodingInband_FEC")
#define XAQ_CONFIGEXT_KEY_ENC_INPUTBLOCKSIZE ((const XAchar*) "audio_encoder.InputBlockSize")
#define XAQ_CONFIGEXT_KEY_ENC_QUALITY ((const XAchar*) "audio_encoder.EncodingQuality")

Configuration values for XAQ_CONFIGEXT_KEY_ENC_VAD and XAQ_CONFIGEXT_KEY_ENC_DTX:

#define XAQ_CONFIGEXT_VALUE_DISABLE ((const XAchar*) "0")
#define XAQ_CONFIGEXT_VALUE_ENABLE ((const XAchar*) "1")

Configuration values for XAQ_CONFIGEXT_KEY_ENC_OPUS_MODE:

#define XAQ_CONFIGEXT_VALUE_OPUS_MODE_AUTO ((const XAchar*) "0")
#define XAQ_CONFIGEXT_VALUE_OPUS_MODE_SILK_ONLY ((const XAchar*) "1000")
#define XAQ_CONFIGEXT_VALUE_OPUS_MODE_HYBRID ((const XAchar*) "1001")
#define XAQ_CONFIGEXT_VALUE_OPUS_MODE_CELT_ONLY ((const XAchar*) "1002")

Configuration values for XAQ_CONFIGEXT_KEY_ENC_APPLICATION:

#define XAQ_CONFIGEXT_VALUE_OPUS_APP_AUDIO ((const XAchar*) "0")
#define XAQ_CONFIGEXT_VALUE_OPUS_APP_VOIP ((const XAchar*) "1")
#define XAQ_CONFIGEXT_VALUE_OPUS_APP_RESTRICTEDLOWDELAY ((const XAchar*) "2")

Configuration values for XAQ_CONFIGEXT_KEY_ENC_FRAMESIZE:

#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_00MS ((const XAchar*) "0")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_10MS ((const XAchar*) "1")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_20MS ((const XAchar*) "2")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_30MS ((const XAchar*) "3")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_40MS ((const XAchar*) "4")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_50MS ((const XAchar*) "5")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_60MS ((const XAchar*) "6")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_16MS ((const XAchar*) "7")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_25MS ((const XAchar*) "8")
#define XAQ_CONFIGEXT_VALUE_RDA_FRAMERATE_5MS ((const XAchar*) "9")

Configuration values for XAQ_CONFIGEXT_KEY_ENC_BANDWIDTH:

#define XAQ_CONFIGEXT_VALUE_OPUS_BANDWIDTH_AUTO ((const XAchar*) "0")               /* Auto Bandwidth */
#define XAQ_CONFIGEXT_VALUE_OPUS_BANDWIDTH_NARROWBAND ((const XAchar*) "1101")      /* 4 kHz bandpass */
#define XAQ_CONFIGEXT_VALUE_OPUS_BANDWIDTH_MEDIUMBAND ((const XAchar*) "1102")      /* 6 kHz bandpass */
#define XAQ_CONFIGEXT_VALUE_OPUS_BANDWIDTH_WIDEBAND ((const XAchar*) "1103")        /* 8 kHz bandpass */
#define XAQ_CONFIGEXT_VALUE_OPUS_BANDWIDTH_SUPERWIDEBAND ((const XAchar*) "1104")   /* 12 kHz bandpass */
#define XAQ_CONFIGEXT_VALUE_OPUS_BANDWIDTH_FULLBAND ((const XAchar*) "1105")        /* 20 kHz bandpass */

Configuration values for XAQ_CONFIGEXT_KEY_ENC_COMPLEXITY:

#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_AUTO ((const XAchar*) "0")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_0 ((const XAchar*) "1")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_1 ((const XAchar*) "2")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_2 ((const XAchar*) "3")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_3 ((const XAchar*) "4")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_4 ((const XAchar*) "5")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_5 ((const XAchar*) "6")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_6 ((const XAchar*) "7")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_7 ((const XAchar*) "8")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_8 ((const XAchar*) "9")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_9 ((const XAchar*) "10")
#define XAQ_CONFIGEXT_VALUE_COMPLEXITY_10 ((const XAchar*) "11")

Configuration values for XAQ_CONFIGEXT_KEY_ENC_QUALITY:

#define XAQ_CONFIGEXT_VALUE_QUALITY_0 ((const XAchar*) "0")
#define XAQ_CONFIGEXT_VALUE_QUALITY_1 ((const XAchar*) "1")
#define XAQ_CONFIGEXT_VALUE_QUALITY_2 ((const XAchar*) "2")
#define XAQ_CONFIGEXT_VALUE_QUALITY_3 ((const XAchar*) "3")
#define XAQ_CONFIGEXT_VALUE_QUALITY_4 ((const XAchar*) "4")
#define XAQ_CONFIGEXT_VALUE_QUALITY_5 ((const XAchar*) "5")
#define XAQ_CONFIGEXT_VALUE_QUALITY_6 ((const XAchar*) "6")
#define XAQ_CONFIGEXT_VALUE_QUALITY_7 ((const XAchar*) "7")
#define XAQ_CONFIGEXT_VALUE_QUALITY_8 ((const XAchar*) "8")
#define XAQ_CONFIGEXT_VALUE_QUALITY_9 ((const XAchar*) "9")
#define XAQ_CONFIGEXT_VALUE_QUALITY_10 ((const XAchar*) "10")