topology2: cavs-nocodec.conf: Rename ssp-capture and DMIC0 Raw PCMs

Rename cavs-nocodec capture PCMs. The current PCM names are confusing. These
should be better names for them. The former

"ssp-capture" is now "Port0 2nd Capture",
"DMIC0 Raw" is now "DMIC SFX1", and
"DMIC0 Raw 2" is now "DMIC SFX2".

The PCMs in question have extra gains in the path to simulate processing.
Also the mixer name is changed to compensate for the matching "Capture"
substring in the end of the PCM name, that is part of the mixer name,
to avoid "Capture Capture" tautology.

Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
This commit is contained in:
Jyri Sarha 2023-05-25 18:43:00 +03:00 committed by Kai Vehmanen
parent 058e6571a5
commit 08acbe4b6f
1 changed files with 4 additions and 4 deletions

View File

@ -83,11 +83,11 @@ Define {
SSP1_ENABLED "true"
PASSTHROUGH "false"
SSP0_PCM_NAME "Port0"
SSP0_CAPTURE_PCM "ssp-capture"
SSP0_CAPTURE_PCM "Port0 2nd Capture"
SSP1_PCM_NAME "Port1"
SSP2_PCM_NAME "Port2"
DMIC0_PCM_0_NAME "DMIC0 Raw"
DMIC0_PCM_1_NAME "DMIC0 Raw 2"
DMIC0_PCM_0_NAME "DMIC SFX1"
DMIC0_PCM_1_NAME "DMIC SFX2"
}
# override defaults with platform-specific config
@ -284,7 +284,7 @@ IncludeByKey.PASSTHROUGH {
}
Object.Widget.gain.1 {
Object.Control.mixer.1 {
name 'Post Demux $SSP0_CAPTURE_PCM Capture Volume'
name 'Post Demux $SSP0_CAPTURE_PCM Volume'
}
}
}