Skip to content

Commit

Permalink
audio: module_adapter: Visual fixes to kconfig
Browse files Browse the repository at this point in the history
Group together the Cadence main Kconfig option with the options related
to various Cadence based codecs.

This is only a visual fix.

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
  • Loading branch information
Paul Olaru authored and lgirdwood committed Jul 25, 2022
1 parent 88325b9 commit e4c2872
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions src/audio/module_adapter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,50 +11,6 @@ menu "Processing modules"
This will cause codec adapter component to include header
files specific to CADENCE base codecs.

config COMP_VOLUME
bool "Volume component"
default y
depends on COMP_MODULE_ADAPTER
help
Select for Volume component

if COMP_VOLUME

config COMP_VOLUME_WINDOWS_FADE
bool "Windows Fade shape volume transitions support"
help
This option enables volume ramp shape that follows
power of 1.75. The shape is not linear, not logarithmic.
The power function uses a lookup table that consumes
256 bytes. The topology must set volume ramp token to
SOF_VOLUME_WINDOWS_FADE for the volume instance to use
this ramp shape.

config COMP_VOLUME_LINEAR_RAMP
bool "Linear ramp volume transitions support"
default y
depends on IPC_MAJOR_3
help
This option enables volume linear ramp shape.

config COMP_PEAK_VOL
bool "Report peak vol data to host"
default y
depends on IPC_MAJOR_4
help
This option enables reporting to host peak vol regs.
See: struct ipc4_peak_volume_regs

config COMP_GAIN
bool "GAIN component"
default y
depends on IPC_MAJOR_4
help
This option enables gain to change volume. It works
as peak volume without updating peak vol to host

endif # volume

if CADENCE_CODEC
config CADENCE_CODEC_WRAPPER
bool 'Cadence codec wrapper'
Expand Down Expand Up @@ -192,7 +148,51 @@ if CADENCE_CODEC
This option is a string and takes the full name of the SRC library binary.
endif

endif
endif # Cadence

config COMP_VOLUME
bool "Volume component"
default y
depends on COMP_MODULE_ADAPTER
help
Select for Volume component

if COMP_VOLUME

config COMP_VOLUME_WINDOWS_FADE
bool "Windows Fade shape volume transitions support"
help
This option enables volume ramp shape that follows
power of 1.75. The shape is not linear, not logarithmic.
The power function uses a lookup table that consumes
256 bytes. The topology must set volume ramp token to
SOF_VOLUME_WINDOWS_FADE for the volume instance to use
this ramp shape.

config COMP_VOLUME_LINEAR_RAMP
bool "Linear ramp volume transitions support"
default y
depends on IPC_MAJOR_3
help
This option enables volume linear ramp shape.

config COMP_PEAK_VOL
bool "Report peak vol data to host"
default y
depends on IPC_MAJOR_4
help
This option enables reporting to host peak vol regs.
See: struct ipc4_peak_volume_regs

config COMP_GAIN
bool "GAIN component"
default y
depends on IPC_MAJOR_4
help
This option enables gain to change volume. It works
as peak volume without updating peak vol to host

endif # volume

config PASSTHROUGH_CODEC
bool "Passthrough codec"
Expand Down

0 comments on commit e4c2872

Please sign in to comment.