Skip to content

Fix MIDI clock and message collector assertions when audio device not…#1035

Merged
mfisher31 merged 1 commit intomainfrom
midiclock
Jan 5, 2026
Merged

Fix MIDI clock and message collector assertions when audio device not…#1035
mfisher31 merged 1 commit intomainfrom
midiclock

Conversation

@mfisher31
Copy link
Copy Markdown
Member

  • Initialize messageCollector and midiClock with default sample rate (44100) at construction
  • Add audioStarted atomic flag to guard messageCollector.addMessageToQueue() calls
  • Use memory_order_acquire/release for proper synchronization
  • Apply tempo immediately when audio engine is not running
  • Add documentation to Transport class

… running

- Initialize messageCollector and midiClock with default sample rate (44100) at construction
- Add audioStarted atomic flag to guard messageCollector.addMessageToQueue() calls
- Use memory_order_acquire/release for proper synchronization
- Apply tempo immediately when audio engine is not running
- Add documentation to Transport class
@mfisher31 mfisher31 merged commit 497c169 into main Jan 5, 2026
4 checks passed
@mfisher31 mfisher31 deleted the midiclock branch January 5, 2026 18:58
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.

1 participant