Skip to content

Decrease size of events_ - #1003

Open
sbooth wants to merge 1 commit into
mainfrom
events-size
Open

sbooth wants to merge 1 commit into
mainfrom
events-size

Conversation

@sbooth

@sbooth sbooth commented Sep 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings September 13, 2026 18:45

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.

🟡 Changes recommended

The smaller queue can drop renderingComplete events and leave decoders active.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Reduces the AudioPlayer event queue capacity to lower memory usage.

Changes:

  • Changes events_ capacity from 256 to 64 slots.
File summaries
File Description
Sources/CSFBAudioEngine/Player/AudioPlayer.h Reduces the event message queue capacity.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


/// Message queue communicating events to the event processing thread
mpsc::MessageQueue<256, 32> events_;
mpsc::MessageQueue<64, 32> events_;
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