Skip to content

Show input meter data at the arrival time - #12431

Merged
kryksyh merged 1 commit into
audacity:masterfrom
kryksyh:input-meter-data-time
Oct 8, 2026
Merged

kryksyh merged 1 commit into
audacity:masterfrom
kryksyh:input-meter-data-time

Conversation

@kryksyh

@kryksyh kryksyh commented Oct 8, 2026

Copy link
Copy Markdown
Member

Resolves: update input meters at the exact time the data arrived, without delay by the OUTPUT latency

  • I signed CLA
  • This PR includes AI assistance
  • If the PR is AI-assisted, I have read, understood and complied with the guidelines for AI-assisted contributions
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

@kryksyh
kryksyh requested a review from saintmatthieu October 8, 2026 07:52
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e777e514-1db4-4205-90ab-bf41c70eeaa9
📥 Commits

Reviewing files that changed from the base of the PR and between 1d87b70 and 5b73040.

📒 Files selected for processing (1)
  • au3/libraries/au3-audio-io/AudioIO.cpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

AudioIoCallback::AudioCallback captures the steady-clock time once. It uses that time for input-meter data and derives the output-meter display time by applying the hardware playback latency.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 5b730

Input meter data can display at callback time while output remains aligned to playback latency. The inspected supported paths use separate meters, leaving no actionable merge-blocking risk.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: show input meter data when it arrives instead of applying output latency.
Description check ✅ Passed The description states the purpose and motivation, and it includes the required checklist. The issue reference is not a direct link, and the recommended compilation check is unchecked, but the descrip…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@saintmatthieu saintmatthieu 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.

Like I said the private conversations, I find the change sensible. It also turns makes the timing of the input meters more consistent between when input monitoring is ON (where they will also be delayed by the output latency) and OFF (only the input latency is present, inherently).

Comment thread au3/libraries/au3-audio-io/AudioIO.cpp Resolved
@kryksyh
kryksyh force-pushed the input-meter-data-time branch from 5b73040 to 9e5032a Compare October 8, 2026 10:08
@kryksyh
kryksyh merged commit 3db94a7 into audacity:master Oct 8, 2026
4 of 8 checks passed
@kryksyh
kryksyh deleted the input-meter-data-time branch October 8, 2026 10:09
kryksyh added a commit that referenced this pull request Oct 27, 2026
Show input meter data at the arrival time
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