Closed singalsu closed 2 months ago
@perexg The inclusion of .conf file if such is available would be useful to define bespoke SOF algo blobs for the model. Otherwise use defaults. It would avoid bloat of UCM script with explicit If conditions for all possible ${CardLongName}
so it would be nice to get this working. Am I doing something wrong?
Unfortunately, the Path was not substituted. I fixed this in ef6463a20914e4cdcd22917d3206a06b86718c3f .
@perexg It's almost fixed, but you need to change the eaccess()
and access()
to use s
, not the unsubstituted path
. Can you check and fix please. Thanks!
Fixed in 3fd24db22dd3b09fd70de2ae1c58804251737ff4 . Thanks.
Great, thanks a lot @perexg !!
A little note: The substitutions will be available for 'Syntax 7' to notify people using older alsa-lib that they should upgrade. See above commit.
To control audio processing in SOF I want to do do this:
However if I replace line as "Path "/usr/share/alsa/ucm2/sof/product_configs/ACME-2000--foobar.conf" (product name obfuscated for confidentiality) the True condition is achieved. It looks like Path is not evaluating variables.
This feature was added in commit 2f57b404b1c1c376316ca0c6bb5e789e2066298f where the usage is explained.