commit | 64ef0da440e4e285f7e4243ac0de637c4410fc4e | [log] [tgz] |
---|---|---|
author | Jaska Uimonen <jaska.uimonen@intel.com> | Wed Aug 28 17:48:09 2019 +0300 |
committer | Janusz Jankowski <janusz.jankowski@linux.intel.com> | Fri Aug 30 11:56:53 2019 +0200 |
tree | bce0aabc1a72c4e3f3c15aeed8e3835a14d802ef | |
parent | 39ed9d6e1f0977b0b850f8bf3bd563cc88b9ec44 [diff] |
pipeline: fix period frame size calculation The period frame size calculation has issues by doing division instead of multiplication. So fix this by introducing new function for buffer period frames calculation where we multiply samplerate and schedule_period and divide by 1000000. Also round up the result. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
See docs
mkdir build && cd build
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 ..
Baytrail:
make baytrail_defconfig
Cherrytrail:
make cherrytrail_defconfig
Haswell:
make haswell_defconfig
Broadwell:
make broadwell_defconfig
Apollolake:
make apollolake_defconfig
Cannonlake:
make cannonlake_defconfig
make menuconfig
make bin # or `make bin -j<jobs>` for parallel build
See unit testing documentation
TODO: Add additional notes about how to deploy this on a live system
See Contributing to the Project
This project is licensed under the BSD Clause 3 - see the LICENCE file for details