Home
last modified time | relevance | path

Searched refs:pcm_rate (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/tests/drivers/audio/dmic_api/src/
Dmain.c82 cfg->streams[0].pcm_rate, cfg->channel.req_num_chan); in do_pdm_transfer()
136 dmic_cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in ZTEST()
138 BLOCK_SIZE(dmic_cfg.streams[0].pcm_rate, in ZTEST()
151 dmic_cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in ZTEST()
153 BLOCK_SIZE(dmic_cfg.streams[0].pcm_rate, in ZTEST()
185 dmic_cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in ZTEST()
187 BLOCK_SIZE(dmic_cfg.streams[0].pcm_rate, in ZTEST()
203 dmic_cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in ZTEST()
205 BLOCK_SIZE(dmic_cfg.streams[0].pcm_rate, in ZTEST()
274 dmic_cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in ZTEST()
[all …]
/Zephyr-latest/samples/drivers/audio/dmic/src/
Dmain.c38 cfg->streams[0].pcm_rate, cfg->channel.req_num_chan); in do_pdm_transfer()
112 cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in main()
114 BLOCK_SIZE(cfg.streams[0].pcm_rate, cfg.channel.req_num_chan); in main()
125 cfg.streams[0].pcm_rate = MAX_SAMPLE_RATE; in main()
127 BLOCK_SIZE(cfg.streams[0].pcm_rate, cfg.channel.req_num_chan); in main()
/Zephyr-latest/samples/drivers/i2s/i2s_codec/src/
Dmain.c130 cfg.streams[0].pcm_rate = SAMPLE_FREQUENCY; in main()
134 cfg.streams[0].pcm_rate, cfg.channel.req_num_chan); in main()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/microphone/src/
Dmain.c25 .pcm_rate = AUDIO_FREQ,
/Zephyr-latest/drivers/audio/
Ddmic_mcux.c52 static int dmic_mcux_get_osr(uint32_t pcm_rate, uint32_t bit_clk, bool use_2fs) in dmic_mcux_get_osr() argument
60 return (uint32_t)(bit_clk / (2 * pcm_rate * use2fs_div)); in dmic_mcux_get_osr()
434 if (stream->pcm_rate == 0 || stream->pcm_width == 0) { in dmic_mcux_configure()
478 osr = dmic_mcux_get_osr(stream->pcm_rate, bit_clk_rate, drv_config->use2fs); in dmic_mcux_configure()
Dmpxxdtyy-i2s.c100 uint32_t audio_freq = cfg->streams->pcm_rate; in mpxxdtyy_i2s_configure()
Dmpxxdtyy.c55 uint32_t audio_freq = cfg->streams->pcm_rate; in sw_filter_lib_init()
Ddmic_nrfx_pdm.c171 uint32_t req_rate = pdm_cfg->streams[0].pcm_rate; in check_pdm_frequencies()
419 if (stream->pcm_rate == 0 || stream->pcm_width == 0) { in dmic_nrfx_pdm_configure()
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/src/
Dmain.c28 .pcm_rate = AUDIO_FREQ,
/Zephyr-latest/include/zephyr/audio/
Ddmic.h118 uint32_t pcm_rate; member