Skip to content

audio: iadk: add timestamping service provider - #11341

Open
abonislawski wants to merge 1 commit into
thesofproject:mainfrom
abonislawski:timestamping_service
Open

abonislawski wants to merge 1 commit into
thesofproject:mainfrom
abonislawski:timestamping_service

Conversation

@abonislawski

Copy link
Copy Markdown
Member

Provide the IADK TimestampingInterface v1 compatibility provider with zeroed counters. GetCurrentPosition clears all counters, while AdjustPosition accepts only a zero shift and leaves the supplied counters unchanged.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The implementation matches the specified compatibility behavior, with no blocking issues identified in the interface, service integration, or build registration.

No open issues 🎉

What changed in this PR

Adds an IADK TimestampingInterface v1 compatibility provider and connects it to the existing module-adapter service lookup.

Changes:

  • Defines the timestamping interface and module counter structure.
  • Implements zeroed current-position counters and accepts only zero-shift adjustments, leaving supplied counters unchanged.
  • Registers the provider in versioned and unversioned service lookups and the IADK build.
File Description
src/​include/​sof/​audio/​module_adapter/​iadk/​timestamping_interface.h Defines the v1 interface and counter structure.
src/​include/​sof/​audio/​module_adapter/​iadk/​iadk_timestamping_service.h Declares the provider lookup function.
src/​audio/​module_adapter/​iadk/​timestamping_service_provider.cpp Implements compatibility behavior and version validation.
src/​audio/​module_adapter/​iadk/​system_agent.cpp Routes timestamping service requests to the provider.
src/​audio/​module_adapter/​CMakeLists.txt Includes the provider in the IADK build.

Review effort: Balanced

Comment thread src/audio/module_adapter/iadk/timestamping_service_provider.cpp Outdated
Provide the IADK TimestampingInterface v1 compatibility provider with
zeroed counters. GetCurrentPosition clears all counters, while
AdjustPosition accepts only a zero shift and leaves the supplied counters
unchanged.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
@intel-sofci

intel-sofci commented Oct 23, 2026 •

Copy link
Copy Markdown

PR 11341: test results

Run date:

Tested commit: 23ca645fc5873fd3dbed5352a9541a012b3d7130

mtl pass rate lnl pass rate ptl pass rate wcl pass rate nvl pass rate

@lgirdwood

Copy link
Copy Markdown
Member

@abonislawski can you check CI, I think the failures are probably unrelated to the PR.

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the plan to follow-up with non-zero counters at some point...?

@abonislawski

Copy link
Copy Markdown
Member Author

@kv2019i yes, it will be added later; very low priority for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants