Searched refs:i2s_rx_cfg (Results 1 – 1 of 1) sorted by relevance
30 static struct i2s_config i2s_rx_cfg; variable46 i2s_rx_cfg.word_size = AUDIO_SAMPLE_BIT_WIDTH; in init()47 i2s_rx_cfg.channels = AUDIO_NUM_CHANNELS; in init()48 i2s_rx_cfg.format = I2S_FMT_DATA_FORMAT_I2S; in init()49 i2s_rx_cfg.options = I2S_OPT_FRAME_CLK_SLAVE; in init()50 i2s_rx_cfg.frame_clk_freq = AUDIO_SAMPLE_FREQ; in init()51 i2s_rx_cfg.block_size = AUDIO_FRAME_BUF_BYTES; in init()52 i2s_rx_cfg.mem_slab = &i2s_rx_mem_slab; in init()53 i2s_rx_cfg.timeout = -1; in init()54 ret = i2s_configure(host_i2s_rx_dev, I2S_DIR_RX, &i2s_rx_cfg); in init()