Go to file
YC Hung 6a18e5a8c9 audio: host: update position every period to improve precision
The position is currently updated by the host component when a
period was consumed. The granularity of this position is too large,
applications relying on timer-based scheduling may query the
position at any time and conformance test suites fail.

This patch introduce another field "cont_update_posn" in
sof_ipc_stream_params which suggests a more precise position
reporting, by storing the latest position in a memory window
when the host component completes a transfer. This will increase
the traffic to memory windows, but allow for a much smaller
granularity in position updates.

In hindsight, this solution should have been the default behavior
but to avoid backwards compatibility issues is added as a new
capability controlled by an ABI check. Only with a recent-enough
Linux kernel will this behavior be enabled.

Signed-off-by: YC Hung <yc.hung@mediatek.com>
2022-03-03 16:44:57 +00:00
.github .github: switch to new xtensa-build-zephyr.py 2022-02-24 14:54:50 +00:00
doc CMake: require version 3.13 2021-09-10 17:19:29 +01:00
installer Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
keys Move signing key pair from rimage/ up one level 2020-05-13 10:16:04 +01:00
platforms/tgl xtensa-build-zephyr.py: add ipc4 build support for tgl 2022-02-26 11:06:59 +00:00
rimage@ee5c3e1deb rimage: update to January 26th version ee5c3e1deb 2022-02-08 09:11:57 +00:00
scripts xtensa-build-zephyr: use separate Zephyr config for TGPH builds 2022-03-01 22:49:36 +00:00
smex CMake: require version 3.13 2021-09-10 17:19:29 +01:00
src audio: host: update position every period to improve precision 2022-03-03 16:44:57 +00:00
test ipc: Added const specifier to protect IPC message content in sending functions. 2022-02-21 15:42:43 +00:00
third_party/include comp: Add mock for google_rtc_audio_processing 2022-01-04 15:24:18 -08:00
tools topology: sof-adl-max98360a-rt5682-waves: add new topology 2022-03-02 14:00:40 +00:00
zephyr ipc4: init gain & mixin components for zephyr 2022-03-01 22:50:17 +00:00
.gitignore Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
.gitmodules .gitmodules: remove .git suffix from rimage.git 2021-09-30 15:56:44 +01:00
.travis.yml .github: replace HAVE_CONFIG KConfig hack with an override 2021-03-23 12:17:22 +00:00
CMakeLists.txt Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
CODEOWNERS codeowner: add Marcin to review ipc changes 2022-01-11 15:39:13 +00:00
Kconfig kconfig: allow SOF Kconfig to be included in other projects 2021-08-04 12:34:39 +01:00
Kconfig.sof refactor is_cached() to avoid buggy compiler optimization 2021-08-12 15:04:41 +01:00
Kconfig.xtos-build kconfig: move BUILD_VM_ROM Kconfig.xtos-build 2021-05-25 15:53:39 +01:00
Kconfig.xtos-dbg Kconfig: use uncached buffer only for debugging 2021-09-29 16:36:27 +01:00
LICENCE LICENSE: Add Cadence license 2021-04-12 10:22:15 +01:00
README.md readme: remove IRC link 2021-06-16 22:13:08 +01:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat

Documentation

See docs

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