blob: 8693e911a040445872e5f41a29c23956c1a54a45 [file] [log] [blame]
# Copyright (c) 2024 NXP
# SPDX-License-Identifier: Apache-2.0
source "Kconfig.zephyr"
config I2S_INIT_BUFFERS
int "Initial count of audio data blocks"
default 4
help
Controls the initial count of audio data blocks, which are (optionally)
filled by data from the DMIC peripheral and played back by the I2S
output peripheral.
config SAMPLE_FREQ
int "Sample rate"
default 16000
help
Sample frequency of the system.
config USE_CODEC_CLOCK
bool "I2S BCK is generated by a selected codec device"
help
If selected, the I2S selected peripheral will be configured to consume
(receive) the I2S BCK and WS signals and the codec will be configured
to generate those. If not selected, the I2S peripheral will generate
them and the codec will be expected to consume them.
config EXTRA_BLOCKS
int "Number of extra blocks"
default 32
help
Extra blocks for storing PCM sample.
config SAMPLE_WIDTH
int "Sample bit width"
default 16
help
PCM sample bit width.
config BYTES_PER_SAMPLE
int "Bytes per sample"
default 2
help
Number of bytes per PCM sample.
config USE_DMIC
bool "Use DMIC as an audio input"
if USE_DMIC
config DMIC_CHANNELS
int "Number of DMIC channels"
default 1
help
Count of DMIC channels to capture and process.
endif