]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: mt8192: skip first time data at the beginning of DMIC recording
authorJiaxin Yu <jiaxin.yu@mediatek.com>
Wed, 11 Nov 2020 02:45:22 +0000 (10:45 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 Nov 2020 12:35:12 +0000 (12:35 +0000)
commit78da32141bbe524e9fa7347fa94f0f36b9a944bd
tree7f2d69e6fa3eca04aa704576a91366064ecdc923
parent81c0d5fec911d4825473acacf5b315b3e4334f43
ASoC: mediatek: mt8192: skip first time data at the beginning of DMIC recording

We can choose to drop away any length of data from the beginning according
to project needs. Some projects don't want to throw away any data, because
they want to use recorded data to do echo cancellation, so they have to
make sure that they are aligned with the reference data as much as
possible. Or there are other algorithms in the upper layer to eliminate
this noise. Or some projects want to eliminate this noise form the kernel
layer. However, the minimum recommended value is 50ms to skip pop noise.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/1605062722-8711-1-git-send-email-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/Kconfig
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c