12.3. Aduio Output

【Debug Information】

/ # cat /proc/audio_debug/cviteka_dac

------------- CVI AO ATTRIBUTE -------------
AiDev    Workmode    SampleRate    BitWidth
  1       master         64000        16

-------------  CVI AO STATUS   -------------
I2S3 is off

SDMA clk is off
DAC is off (0)
L-Mute   R-Mute
  no       no

L-Vol           R-Vol
  32             32

【Analysis】

Record the current audio output device 参数名称s and status information.

【Parameter Description】

Parameter

Decription

AiDev

Audio Output device ID

Workmode

Audio Output working mode master: I2S master mode slave: I2S slave mode

SampleRate

Sample rate. Range: [8k ~ 48K]

BitWidth

Sampling accuracy. Range: [16bit]

I2S3

I2S status of the ADC codec interface. on: open off: closed

SDMA clk

sysDMA clock status on: open off: closed

DAC

ADC codec status 0x0: closed 0x3: open

L-Vol

Left channel volume. Range: [0~32]

R-Vol

Right channel volume. Range: [0~32]