Skip to content

audio: (cosmetic) address comments to an earlier PR#10736

Open
lyakh wants to merge 1 commit intothesofproject:mainfrom
lyakh:vreg
Open

audio: (cosmetic) address comments to an earlier PR#10736
lyakh wants to merge 1 commit intothesofproject:mainfrom
lyakh:vreg

Conversation

@lyakh
Copy link
Copy Markdown
Collaborator

@lyakh lyakh commented Apr 30, 2026

Address two cosmetic comments to #10702

Address two cosmetic comments to
thesofproject#10702

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Copilot AI review requested due to automatic review settings April 30, 2026 12:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Cosmetic cleanup related to earlier userspace DP/vregion work by aligning comments and header declarations with the current code, helping avoid build/compile-order issues and reducing confusion.

Changes:

  • Add a forward declaration for struct mod_alloc_ctx in audio_buffer.h to support the alloc pointer member without requiring additional includes.
  • Fix a stale comment in module_adapter_dp_heap_new() to match the existing 4k lifetime allocation size.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/include/sof/audio/audio_buffer.h Adds forward declaration for mod_alloc_ctx used by sof_audio_buffer.
src/audio/module_adapter/module_adapter.c Updates comment to match the existing vregion_create(4096, ...) behavior.

Comment thread src/audio/module_adapter/module_adapter.c
@lyakh
Copy link
Copy Markdown
Collaborator Author

lyakh commented Apr 30, 2026

@lrudyX this one really cannot break anything...

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.

2 participants