Go to file
Seppo Ingalsuo a81ce180ca Volume: Get volume ramp parameters from IPC
This patch adds code to handle volume ramp type and ramp length
parameters from topology. The previous hard coded 250 ms ramp
related macros are removed.

Since the kernel does not (yet) provide the volume min/max into
as IPC for new() the code assumes the ramp length is the length
of the mute to 0 dB gain transition.

If a volume transition is larger than that, what can happen in a
high gain configuration, the ramp is shortened to exceed the
passed time parameter. So in other words the large transitions will
use a variable rate slope.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2019-05-09 22:13:48 +01:00
.github/ISSUE_TEMPLATE github: don't automatically assign features and bugs. 2019-04-04 11:19:02 +01:00
doc dox: reformatted documentation for component and ipc control 2019-02-04 12:42:03 +00:00
rimage rimage: add option to set imr type 2019-04-11 19:07:16 +02:00
scripts scripts: build testbench for host 2019-05-07 08:49:48 +02:00
src Volume: Get volume ramp parameters from IPC 2019-05-09 22:13:48 +01:00
test kpb: fix kpb reset issue to make the consequent iteration work 2019-05-07 12:26:56 +02:00
tools Topology: kwd: change to use correct buffer caps 2019-05-09 14:57:19 +02:00
.gitignore gitignore: remove autotools ignore files. 2019-03-27 14:32:19 +00:00
.travis.yml CI: travis: update the docker hub organization 2019-01-31 20:35:44 +00:00
CMakeLists.txt cmake: rename BUILD_HOST to BUILD_LIBRARY 2019-05-07 08:49:48 +02:00
CODEOWNERS codeowners: make sure TSC is notified for every ABI change. 2019-04-24 17:11:51 +01:00
Kconfig kconfig: Add cores and memory sizes configurability 2019-04-18 12:44:29 +02:00
LICENCE licence: update for kconfig and elf.h 2019-02-01 11:12:36 +00:00
README.md Updated Readme for cht configuration 2019-04-26 10:42:41 +01:00

README.md

Sound Open Firmware

Status

Build Status

Documentation

See docs

Prerequisites

  • Docker
  • CMake (version >= 3.10)

Build Instructions

  1. Create directory in checked out repo for build files:
mkdir build && cd build
  1. Run configuration for your toolchain:

Baytrail / Cherrytrail:

cmake -DTOOLCHAIN=xtensa-byt-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-byt-elf ..

Haswell / Broadwell:

cmake -DTOOLCHAIN=xtensa-hsw-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-hsw-elf ..

Apollolake:

cmake -DTOOLCHAIN=xtensa-apl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-apl-elf ..

Cannonlake:

cmake -DTOOLCHAIN=xtensa-cnl-elf -DROOT_DIR=`pwd`/../../xtensa-root/xtensa-cnl-elf ..
  1. Apply default config for your platform.

Baytrail:

make baytrail_defconfig

Cherrytrail:

make cherrytrail_defconfig

Haswell:

make haswell_defconfig

Broadwell:

make broadwell_defconfig

Apollolake:

make apollolake_defconfig

Cannonlake:

make cannonlake_defconfig
  1. (Optional) Customize your configuration
make menuconfig
  1. Build firmware
make bin
# or `make bin -j<jobs>` for parallel build

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details