Repository navigation
Fix freeze when double-clicking timeline with a midi track present - #11696
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 36b8596125ecc250d8a3e4db725649c30ea8b582 and 4007058. 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant AudioIO
participant MIDIPlay
participant MIDIIterator
AudioIO->>MIDIPlay: Pass requested start time
MIDIPlay->>MIDIPlay: Compute warped start time
MIDIPlay->>MIDIIterator: Initialize at requested start time
MIDIPlay->>MIDIPlay: Use warped time for callback timing
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Warning Review ran into problems🔥 ProblemsLinked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped 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. Comment |
dce9d6a to
f5f82a4
Compare
f5f82a4 to
36b8596
Compare
36b8596 to
4007058
Compare
Resolves: #11664
Resolves: #2359
When the playback is restarted with a click on a timeline, it stops all streams first. During stop we wait for all midi events to be drained.
But if the playback is restarted twice in quick succession, the first midi playback doesnt have time to fully initialize which results in a 1000s wait. Introduced in #1637
Call stack:
Recommended:
QA: