forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds the topology2 file for DTS. The processing chain is EQ IIR - DTS. The topology file with DTS is sof-mtl-max98357a-rt5682-ssp2-ssp0-dts.tplg. Signed-off-by: Joe Cheng <[email protected]> Signed-off-by: Mac Chian <[email protected]>
- Loading branch information
1 parent
e08b2c2
commit 0fc62e7
Showing
6 changed files
with
547 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# | ||
# Common widget dts | ||
# | ||
# A generic dts widget. All attributes defined herein are namespaced | ||
# by alsatplg to "Object.Widget.dts.N.attribute_name" | ||
# | ||
# Usage: this component can be used by instantiating it in the parent object. i.e. | ||
# | ||
# Object.Widget.dts."N" { | ||
# index 1 | ||
# type "effect" | ||
# } | ||
# | ||
# Where N is the unique instance number for the smart_amp object within the same alsaconf node. | ||
|
||
Class.Widget."dts" { | ||
# | ||
# Pipeline ID for the DTS widget object | ||
# | ||
DefineAttribute."index" { | ||
type "integer" | ||
} | ||
|
||
# | ||
# Unique instance for DTS widget | ||
# | ||
DefineAttribute."instance" { | ||
type "integer" | ||
} | ||
|
||
#include common component definition | ||
<include/components/widget-common.conf> | ||
|
||
DefineAttribute."num_audio_formats" { | ||
# Token set reference name and type | ||
token_ref "comp.word" | ||
} | ||
|
||
DefineAttribute."cpc" { | ||
# Token set reference name and type | ||
token_ref "comp.word" | ||
} | ||
|
||
DefineAttribute."is_pages" { | ||
# Token set reference name and type | ||
token_ref "comp.word" | ||
} | ||
|
||
# Attribute categories | ||
attributes { | ||
# | ||
# The DTS widget name would be constructed using the index and instance attributes. | ||
# | ||
!constructor [ | ||
"index" | ||
"instance" | ||
] | ||
|
||
# | ||
# mandatory attributes that must be provided when the class is instantiated | ||
# | ||
!mandatory [ | ||
"no_pm" | ||
"uuid" | ||
"num_input_audio_formats" | ||
"num_output_audio_formats" | ||
] | ||
|
||
# | ||
# immutable attributes cannot be modified in the object instance | ||
# | ||
!immutable [ | ||
"type" | ||
] | ||
|
||
# | ||
# deprecated attributes should not be added in the object instance | ||
# | ||
!deprecated [ | ||
"preload_count" | ||
] | ||
|
||
# | ||
# DTS widget objects instantiated within the same alsaconf node must have unique | ||
# instance attribute | ||
# | ||
unique "instance" | ||
} | ||
|
||
# Default attribute values for dts widget | ||
|
||
# UUID can be overridden in the top-level topology file | ||
uuid "4f:c3:5f:d9:0f:37:c7:4a:bc:86:bf:dc:5b:e2:41:e6" | ||
type "effect" | ||
no_pm "true" | ||
cpc 5000 | ||
is_pages 1 | ||
core_id 0 | ||
num_input_pins 1 | ||
num_output_pins 1 | ||
} |
Oops, something went wrong.