@@ -11,50 +11,6 @@ menu "Processing modules"
1111 This will cause codec adapter component to include header
1212 files specific to CADENCE base codecs.
1313
14- config COMP_VOLUME
15- bool "Volume component"
16- default y
17- depends on COMP_MODULE_ADAPTER
18- help
19- Select for Volume component
20-
21- if COMP_VOLUME
22-
23- config COMP_VOLUME_WINDOWS_FADE
24- bool "Windows Fade shape volume transitions support"
25- help
26- This option enables volume ramp shape that follows
27- power of 1.75. The shape is not linear, not logarithmic.
28- The power function uses a lookup table that consumes
29- 256 bytes. The topology must set volume ramp token to
30- SOF_VOLUME_WINDOWS_FADE for the volume instance to use
31- this ramp shape.
32-
33- config COMP_VOLUME_LINEAR_RAMP
34- bool "Linear ramp volume transitions support"
35- default y
36- depends on IPC_MAJOR_3
37- help
38- This option enables volume linear ramp shape.
39-
40- config COMP_PEAK_VOL
41- bool "Report peak vol data to host"
42- default y
43- depends on IPC_MAJOR_4
44- help
45- This option enables reporting to host peak vol regs.
46- See: struct ipc4_peak_volume_regs
47-
48- config COMP_GAIN
49- bool "GAIN component"
50- default y
51- depends on IPC_MAJOR_4
52- help
53- This option enables gain to change volume. It works
54- as peak volume without updating peak vol to host
55-
56- endif # volume
57-
5814if CADENCE_CODEC
5915 config CADENCE_CODEC_WRAPPER
6016 bool 'Cadence codec wrapper'
@@ -192,7 +148,51 @@ if CADENCE_CODEC
192148 This option is a string and takes the full name of the SRC library binary.
193149 endif
194150
195- endif
151+ endif # Cadence
152+
153+ config COMP_VOLUME
154+ bool "Volume component"
155+ default y
156+ depends on COMP_MODULE_ADAPTER
157+ help
158+ Select for Volume component
159+
160+ if COMP_VOLUME
161+
162+ config COMP_VOLUME_WINDOWS_FADE
163+ bool "Windows Fade shape volume transitions support"
164+ help
165+ This option enables volume ramp shape that follows
166+ power of 1.75. The shape is not linear, not logarithmic.
167+ The power function uses a lookup table that consumes
168+ 256 bytes. The topology must set volume ramp token to
169+ SOF_VOLUME_WINDOWS_FADE for the volume instance to use
170+ this ramp shape.
171+
172+ config COMP_VOLUME_LINEAR_RAMP
173+ bool "Linear ramp volume transitions support"
174+ default y
175+ depends on IPC_MAJOR_3
176+ help
177+ This option enables volume linear ramp shape.
178+
179+ config COMP_PEAK_VOL
180+ bool "Report peak vol data to host"
181+ default y
182+ depends on IPC_MAJOR_4
183+ help
184+ This option enables reporting to host peak vol regs.
185+ See: struct ipc4_peak_volume_regs
186+
187+ config COMP_GAIN
188+ bool "GAIN component"
189+ default y
190+ depends on IPC_MAJOR_4
191+ help
192+ This option enables gain to change volume. It works
193+ as peak volume without updating peak vol to host
194+
195+ endif # volume
196196
197197 config PASSTHROUGH_CODEC
198198 bool "Passthrough codec"
0 commit comments