Quantcast
Channel: 数字信号处理器 (DSP) & ARM® 微处理器
Viewing all articles
Browse latest Browse all 21822

帖子: RE: 求助,DM8168的I2S接口音频参数是可以配置的吗?

$
0
0

static struct snd_platform_data aic3x_snd_data = {
#if defined(CONFIG_MACH_TI810XEVM) || defined(CONFIG_MACH_TI810XDVR)|| defined (CONFIG_MACH_UD8107_DVR)
.tx_dma_offset = 0x46400000,
.rx_dma_offset = 0x46400000,
#else
.tx_dma_offset = 0x46800000,
.rx_dma_offset = 0x46800000,
#endif
.op_mode = DAVINCI_MCASP_IIS_MODE,
.num_serializer = ARRAY_SIZE(aic3x_iis_serializer_direction),
.tdm_slots = 2,
.serial_dir = aic3x_iis_serializer_direction,
.asp_chan_q = EVENTQ_0,
.version = MCASP_VERSION_2,
.txnumevt = 32,
.rxnumevt = 32,
/* McASP21_AHCLKX out to feed CODEC CLK*/
.clk_input_pin = MCASP_AHCLKX_OUT,
};

我特别不理解 txnumevt 的赋值到底是什么意思?在哪里可以查阅到资料?还有就是I2S音频的左右对其和采样字节数目是在哪里设置的?


Viewing all articles
Browse latest Browse all 21822

Trending Articles