|
enum | channels_t { CHANNELS2 = 2
, CHANNELS8 = 8
, CHANNELS16 = 16
} |
| Select the number of channels. More...
|
|
enum | codec_mode_t {
CODEC_MODE_MIN = -1
, CODEC_MODE_NONE = 0x00
, CODEC_MODE_ENCODE = 0x01
, CODEC_MODE_DECODE = 0x02
,
CODEC_MODE_BOTH = 0x03
, CODEC_MODE_LINE_IN = 0x04
, CODEC_MODE_MAX
} |
| Select media hal codec mode. More...
|
|
enum | es_mic_gain_t {
MIC_GAIN_MIN = -1
, MIC_GAIN_0DB = 0
, MIC_GAIN_3DB = 3
, MIC_GAIN_6DB = 6
,
MIC_GAIN_9DB = 9
, MIC_GAIN_12DB = 12
, MIC_GAIN_15DB = 15
, MIC_GAIN_18DB = 18
,
MIC_GAIN_21DB = 21
, MIC_GAIN_24DB = 24
, MIC_GAIN_MAX
} |
| Microphone Gain. More...
|
|
enum | i2s_format_t {
I2S_NORMAL = 0
, I2S_LEFT = 1
, I2S_RIGHT = 2
, I2S_DSP = 3
,
I2S_TDM = 4
} |
| Select I2S interface format for audio codec chip. More...
|
|
enum | i2s_master_slave_t { MODE_SLAVE = 0x00
, MODE_MASTER = 0x01
} |
| Select I2S interface operating mode i.e. master or slave for audio codec chip. More...
|
|
enum class | PinLogic {
InputActiveHigh
, InputActiveLow
, InputActiveTouch
, Input
,
Output
} |
| input or output More...
|
|
enum | sample_bits_t {
BIT_LENGTH_MIN = -1
, BIT_LENGTH_16BITS = 0x03
, BIT_LENGTH_18BITS = 0x02
, BIT_LENGTH_20BITS = 0x01
,
BIT_LENGTH_24BITS = 0x00
, BIT_LENGTH_32BITS = 0x04
, BIT_LENGTH_MAX
} |
| Select I2S interface number of bits per sample. More...
|
|
enum | samplerate_t {
RATE_8K = 0
, RATE_11K
, RATE_16K
, RATE_22K
,
RATE_24K
, RATE_32K
, RATE_44K
, RATE_48K
,
RATE_64K
, RATE_88K
, RATE_96K
, RATE_128K
,
RATE_176K
, RATE_192K
} |
| Select I2S interface samples per second. More...
|
|