Skip to content

Fix NTSC frame snapping - #12292

Merged
kryksyh merged 1 commit into
audacity:masterfrom
grliszas14:ntsc_frame_snapping
Oct 5, 2026
Merged

kryksyh merged 1 commit into
audacity:masterfrom
grliszas14:ntsc_frame_snapping

Conversation

@grliszas14

@grliszas14 grliszas14 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Resolves: Snapping position was miscalculated when snap to NTSC-frames is selected

  • 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

proposed by 56steve

@grliszas14
grliszas14 requested a review from kryksyh September 24, 2026 11:27
@grliszas14 grliszas14 added this to the Audacity 4.1 milestone Sep 24, 2026
@grliszas14 grliszas14 moved this from Ready For Dev to Code Review in [AU4] Release Maintenance Sep 24, 2026
@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

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: 77bf0294-925f-42e2-9e32-774534a032a0

📥 Commits

Reviewing files that changed from the base of the PR and between f869383 and a09b32e.

📒 Files selected for processing (2)
  • src/projectscene/tests/snaptimeformatter_tests.cpp
  • src/projectscene/view/timeline/snaptimeformatter.cpp

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


📝 Walkthrough

Walkthrough

The frame multiplier maps now use double values. A new Snap_Frames test checks snapTime for five frame types and verifies that NTSC snapping differs from a 29 fps grid.

Priority: ⬇️ Low

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

Merge Risk: ⚪ Minimal · up to a09b3

No actionable PR-introduced issue was identified; the NTSC snapping regression is covered, and the drop-frame grid matches its intended timing.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title clearly and concisely identifies the main change: fixing NTSC frame snapping.
Description check ✅ Passed The description includes the issue, all required checklist items, and the AI-assistance declaration. It is mostly complete, although the Resolves entry does not include a direct issue link and the imp…

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.

@kryksyh kryksyh moved this from Code Review to Ready for QA in [AU4] Release Maintenance Sep 24, 2026
@github-project-automation github-project-automation Bot moved this to Design - Todo in Audacity 4.1 Sep 25, 2026
@chinakov chinakov self-assigned this Oct 1, 2026
@chinakov

chinakov commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Thanks, this is done.

@kryksyh
kryksyh force-pushed the ntsc_frame_snapping branch from a09b32e to 7e76b4d Compare October 5, 2026 14:32
@kryksyh
kryksyh merged commit 71e306a into audacity:master Oct 5, 2026
3 of 10 checks passed
kryksyh added a commit that referenced this pull request Oct 27, 2026
Fix NTSC frame snapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants