Skip to content

Commit

Permalink
UCM2: Intel: sof-hda-dsp: Enable Dmic0 DRC and TDFB pre-processing
Browse files Browse the repository at this point in the history
This patch adds enable of the microphone capture pre-processing
features as BootSequence inital values if the controls for them
are available. If the user later switches these off, they will
remain off.

The DRC is dynamic range control that boosts the capture level,
and the TDFB (time-domain fixed beamformer) improves capture
signa-to-noise ratio for set beam angle direction. The used
0 degrees angle is defined as angle towards notebook computer
user.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu committed Dec 3, 2024
1 parent 62acef2 commit ac9367a
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,36 @@ If.dmic {
Type String
Empty "${var:DeviceDmic}"
}
False.If.Dmic0 {
Condition {
Type ControlExists
Control "name='Dmic0 Capture Volume'"
False {
If.Dmic0 {
Condition {
Type ControlExists
Control "name='Dmic0 Capture Volume'"
}
True.BootSequence [
cset "name='Dmic0 Capture Volume' 70%"
cset "name='Dmic0 Capture Switch' on"
]
}
If.captureDRC {
Condition {
Type ControlExists
Control "name='Dmic0 Capture DRC switch'"
}
True.BootSequence [
cset "name='Dmic0 Capture DRC switch' on"
]
}
If.captureTDFB {
Condition {
Type ControlExists
Control "name='Dmic0 Capture TDFB beam switch'"
}
True.BootSequence [
cset "name='Dmic0 Capture TDFB beam switch' on"
cset "name='Dmic0 Capture TDFB angle set enum' 0"
]
}
True.BootSequence [
cset "name='Dmic0 Capture Volume' 70%"
cset "name='Dmic0 Capture Switch' on"
]
}
}

Expand Down

0 comments on commit ac9367a

Please sign in to comment.