@@ -100,6 +100,76 @@ IncludeByKey.PASSTHROUGH {
100100
101101 IncludeByKey.SDW_SPK_ENHANCED_PLAYBACK {
102102 "true" {
103+ IncludeByKey.USE_DAX {
104+ "true" {
105+ mixout-gain-dax-alh-dai-copier-playback [
106+ {
107+ index 21
108+
109+ Object.Widget.alh-copier.1 {
110+ stream_name $SDW_SPK_STREAM
111+ node_type $ALH_LINK_OUTPUT_CLASS
112+ num_input_audio_formats 3
113+ Object.Base.input_audio_format [
114+ {
115+ in_bit_depth 16
116+ in_valid_bit_depth 16
117+ }
118+ {
119+ in_bit_depth 32
120+ in_valid_bit_depth 24
121+ }
122+ {
123+ in_bit_depth 32
124+ in_valid_bit_depth 32
125+ }
126+ ]
127+ num_output_audio_formats 1
128+ Object.Base.output_audio_format [
129+ {
130+ out_bit_depth 32
131+ out_valid_bit_depth $SDW_LINK_VALID_BITS
132+ out_sample_type $SAMPLE_TYPE_MSB_INTEGER
133+ out_fmt_cfg "$[($out_channels | ($out_valid_bit_depth * 256))]"
134+ }
135+ ]
136+ }
137+ Object.Widget.gain.1 {
138+ Object.Control.mixer.1 {
139+ name 'Post Mixer $AMP_PLAYBACK_NAME Volume'
140+ }
141+ }
142+ Object.Widget.dolby-dax.1 {
143+ core_id $DOLBY_DAX_CORE_ID
144+ Object.Control {
145+ mixer."1" {
146+ name 'DAX Speaker Switch'
147+ }
148+ mixer."2" {
149+ name 'DAX Speaker Switch CP'
150+ }
151+ mixer."3" {
152+ name 'DAX Speaker Switch CTC'
153+ }
154+ mixer."4" {
155+ name 'DAX Speaker Volume'
156+ }
157+ enum."1" {
158+ name 'DAX Speaker Profile'
159+ }
160+ enum."2" {
161+ name 'DAX Speaker Device'
162+ }
163+ bytes."1" {
164+ name 'DAX Speaker Tuning'
165+ max 8192
166+ }
167+ }
168+ }
169+ }
170+ ]
171+ }
172+ "false" {
103173 mixout-gain-eqiir-eqfir-drc-alh-dai-copier-playback [
104174 {
105175 index 21
@@ -160,6 +230,8 @@ IncludeByKey.PASSTHROUGH {
160230 }
161231 }
162232 ]
233+ }
234+ }
163235 }
164236 "false" {
165237 mixout-gain-alh-dai-copier-playback [
@@ -648,16 +720,32 @@ IncludeByKey.PASSTHROUGH {
648720 "true" {
649721 IncludeByKey.SDW_SPK_ENHANCED_PLAYBACK {
650722 "true" {
651- Object.Base.route [
652- {
653- source "drc.21.1"
654- sink "module-copier.21.22"
723+ IncludeByKey.USE_DAX {
724+ "true" {
725+ Object.Base.route [
726+ {
727+ source "dolby-dax.21.1"
728+ sink "module-copier.21.22"
729+ }
730+ {
731+ source "module-copier.21.22"
732+ sink "alh-copier.$SDW_SPK_STREAM.0"
733+ }
734+ ]
655735 }
656- {
657- source "module-copier.21.22"
658- sink "alh-copier.$SDW_SPK_STREAM.0"
736+ "false" {
737+ Object.Base.route [
738+ {
739+ source "drc.21.1"
740+ sink "module-copier.21.22"
741+ }
742+ {
743+ source "module-copier.21.22"
744+ sink "alh-copier.$SDW_SPK_STREAM.0"
745+ }
746+ ]
659747 }
660- ]
748+ }
661749 }
662750 "false" {
663751 Object.Base.route [
@@ -676,12 +764,24 @@ IncludeByKey.PASSTHROUGH {
676764 "false" {
677765 IncludeByKey.SDW_SPK_ENHANCED_PLAYBACK {
678766 "true" {
679- Object.Base.route [
680- {
681- source "drc.21.1"
682- sink "alh-copier.$SDW_SPK_STREAM.0"
767+ IncludeByKey.USE_DAX {
768+ "true" {
769+ Object.Base.route [
770+ {
771+ source "dolby-dax.21.1"
772+ sink "alh-copier.$SDW_SPK_STREAM.0"
773+ }
774+ ]
683775 }
684- ]
776+ "false" {
777+ Object.Base.route [
778+ {
779+ source "drc.21.1"
780+ sink "alh-copier.$SDW_SPK_STREAM.0"
781+ }
782+ ]
783+ }
784+ }
685785 }
686786 "false" {
687787 Object.Base.route [
0 commit comments