topology2: nocodec-ssp0-2level.conf: Rename Port0 Aux Volume

Rename SSP0 Aux Playback stream volume before mixing. Use the
associated PCM name in the mixer name. This change affects nocodec
topologies and appears on sof-tgl-nocodec.tplg as a following change:

'gain.21.1 Playback Volume 8' -> 'gain.21.1 Pre Mixer Port0 Aux Playback Volu'

Unfortunately the new mixer name does fit into the space reserved for
it, but it should get fixed once we get rid of the "gain 21.1"-prefix.

Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
This commit is contained in:
Jyri Sarha 2023-05-22 17:02:40 +03:00 committed by Kai Vehmanen
parent bdff11cc7a
commit b918e1f316
1 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Define {
SSP0_AUX_PCM_NAME "Port0 Aux Playback"
}
Object.Pipeline.host-copier-gain-mixin-playback [
{
index $SSP0_MIXER_PIPELINE_ID_2
@ -11,7 +15,7 @@ Object.Pipeline.host-copier-gain-mixin-playback [
}
Object.Widget.gain.1 {
Object.Control.mixer.1 {
name 'Playback Volume 8'
name 'Pre Mixer $SSP0_AUX_PCM_NAME Volume'
}
}
}
@ -29,7 +33,7 @@ Object.Pipeline.mixout-mixin [
Object.PCM.pcm [
{
name "Port0 Aux Playback"
name "$SSP0_AUX_PCM_NAME"
id $SSP0_MIXER_PCM_ID_1
direction "playback"
Object.Base.fe_dai."Port0 aux" {}