From 6987029d8fa231be4a402e70006f3a563baf4c96 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Tue, 19 May 2020 13:49:53 +0300 Subject: [PATCH] Topology: HDA-generic: Use +20 dB EQ gain for DMIC capture pipelines This patch replaces the default EQ 0 dB gain with +20 dB gain in DMIC pipelines in hda-generic based topologies. It fixes the issues with too silent capture level. The gain was changed to 0 dB in a recent change to let UCM set it. However this change remains needed for a while since the UCM initial gain patch and remaining development of ALSA/ASoC 4ch capture for devices with more than two microphones will take longer time to become available. The impacted topologies are: sof-hda-generic-2ch.tplg sof-hda-generic-4ch.tplg sof-hda-generic-eq-2ch.tplg sof-hda-generic-eq-4ch.tplg sof-hda-generic-idisp-2ch.tplg sof-hda-generic-idisp-4ch.tplg Note: The 0 dB high-pass version is preferred after all the needed development is available. Signed-off-by: Seppo Ingalsuo --- tools/topology/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/topology/CMakeLists.txt b/tools/topology/CMakeLists.txt index 8fac3e32a573..48c71fdba64b 100644 --- a/tools/topology/CMakeLists.txt +++ b/tools/topology/CMakeLists.txt @@ -24,15 +24,15 @@ set(TPLGS "sof-cht-rt5682\;sof-cht-rt5682" "sof-cht-src-50khz-pcm512x\;sof-cht-src-50khz-pcm512x" "sof-hda-generic\;sof-hda-generic\;-DCHANNELS=0\;-DPPROC=volume" - "sof-hda-generic\;sof-hda-generic-2ch\;-DCHANNELS=2\;-DPPROC=volume" - "sof-hda-generic\;sof-hda-generic-4ch\;-DCHANNELS=4\;-DPPROC=volume" - "sof-hda-generic\;sof-hda-generic-eq-2ch\;-DCHANNELS=2\;-DPPROC=eq-iir-eq-fir-volume" - "sof-hda-generic\;sof-hda-generic-eq-4ch\;-DCHANNELS=4\;-DPPROC=eq-iir-eq-fir-volume" + "sof-hda-generic\;sof-hda-generic-2ch\;-DCHANNELS=2\;-DPPROC=volume\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4" + "sof-hda-generic\;sof-hda-generic-4ch\;-DCHANNELS=4\;-DPPROC=volume\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4" + "sof-hda-generic\;sof-hda-generic-eq-2ch\;-DCHANNELS=2\;-DPPROC=eq-iir-eq-fir-volume\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4" + "sof-hda-generic\;sof-hda-generic-eq-4ch\;-DCHANNELS=4\;-DPPROC=eq-iir-eq-fir-volume\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4" "sof-hda-generic-kwd\;sof-hda-generic-2ch-kwd\;-DCHANNELS=2" "sof-hda-generic-kwd\;sof-hda-generic-4ch-kwd\;-DCHANNELS=4" "sof-hda-generic-idisp\;sof-hda-generic-idisp\;-DCHANNELS=0" - "sof-hda-generic-idisp\;sof-hda-generic-idisp-2ch\;-DCHANNELS=2" - "sof-hda-generic-idisp\;sof-hda-generic-idisp-4ch\;-DCHANNELS=4" + "sof-hda-generic-idisp\;sof-hda-generic-idisp-2ch\;-DCHANNELS=2\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4" + "sof-hda-generic-idisp\;sof-hda-generic-idisp-4ch\;-DCHANNELS=4\;-DDMICPROC_FILTER1=eq_iir_coef_highpass_40hz_20db_48khz.m4" "sof-hda-asrc\;sof-hda-asrc-2ch\;-DCHANNELS=2" "sof-apl-nocodec\;sof-apl-nocodec" "sof-apl-keyword-detect\;sof-apl-keyword-detect"