]> Git Repo - linux.git/commit
ASoC: SOF: ipc: introduce cont_update_posn in sof_ipc_stream_params struct
authorYC Hung <[email protected]>
Mon, 9 May 2022 17:04:25 +0000 (12:04 -0500)
committerMark Brown <[email protected]>
Tue, 10 May 2022 13:01:54 +0000 (14:01 +0100)
commit2cb29da3f2c29e62311eec6446be92aa5f2c1620
tree8966100f2fbc401d96828c05d090a3ae54ad748d
parent9d62ba94266be3ddc864348a4df7e54f5562f0d5
ASoC: SOF: ipc: introduce cont_update_posn in sof_ipc_stream_params struct

The host stream position is updated when no_stream_position is set as 0.
However current implementation updates host stream position only when
report data is larger than or equal to host period size which is decided
by the period size of host side. It maybe cause host stream position
update not in time. Therefore this patch introduces another field
"cont_update_posn", a boolean value aimed to update host stream position
continuously and based on period size of pipeline. It can get better
precise when need to update host stream position from firmware.

Reviewed-by: Daniel Baluta <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Signed-off-by: YC Hung <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
include/sound/sof/stream.h
include/uapi/sound/sof/abi.h
This page took 0.059135 seconds and 4 git commands to generate.