Skip to content

Fix compiler warnings#51

Open
Allan-xmos wants to merge 1 commit into
xmos:developfrom
Allan-xmos:feature/type_fixes
Open

Fix compiler warnings#51
Allan-xmos wants to merge 1 commit into
xmos:developfrom
Allan-xmos:feature/type_fixes

Conversation

@Allan-xmos

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR performs small type/signature cleanups to better align channel-indexing and IC frame APIs with the existing internal representations and constants.

Changes:

  • Use an unsigned loop index when iterating over num_y_channels in stage1_process_frame().
  • Update ic_frame_init()’s input buffer annotations to use IC_FRAME_ADVANCE (matching how the function consumes the buffers).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lib_voice/src/stage1/stage1.c Aligns the per-channel loop index type with the unsigned channel count used by AEC shared state.
lib_voice/src/ic/ic_low_level.h Makes the ic_frame_init() prototype reflect that it consumes IC_FRAME_ADVANCE new samples per frame.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Allan-xmos Allan-xmos changed the title Fix some types Fix compiler warnings Jul 16, 2026
@Allan-xmos
Allan-xmos requested a review from uvvpavel July 16, 2026 13:55
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.

3 participants