Skip to content

fix(synth): buffer pending worklet messages - #2645

Merged
Danielku15 merged 1 commit into
developfrom
feature/pending-worklet-events
Apr 9, 2026
Merged

fix(synth): buffer pending worklet messages#2645
Danielku15 merged 1 commit into
developfrom
feature/pending-worklet-events

Conversation

@Danielku15

Copy link
Copy Markdown
Member

Issues

Fixes #2561

Proposed changes

Buffer pending messages in the worklet output and send them when worklet is constructed and ready.

Checklist

  • I consent that this change becomes part of alphaTab under it's current or any future open source license
  • Changes are implemented
  • New tests were added

Further details

  • This is a breaking change
  • This change will require update of the documentation/website

@Danielku15 Danielku15 self-assigned this Apr 9, 2026
@Danielku15
Danielku15 force-pushed the feature/pending-worklet-events branch from 56edb74 to e2d2111 Compare April 9, 2026 09:43
@Danielku15
Danielku15 merged commit d36a590 into develop Apr 9, 2026
5 checks passed
@Danielku15
Danielku15 deleted the feature/pending-worklet-events branch April 9, 2026 09:48
@kulek1

kulek1 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Hey @Danielku15,
I'm testing latest changes and wanted to let you know that I've noticed that this PR is causing some stuttering on Safari when loop is selected and played more than 1 time.

kulek1 added a commit to kulek1/alphaTab that referenced this pull request Jun 29, 2026
@AvaTheArchitect

AvaTheArchitect commented Jun 30, 2026 via email

Copy link
Copy Markdown

kulek1 added a commit to kulek1/alphaTab that referenced this pull request Jul 13, 2026
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.

AudioWorkletOutput: playback freezes due to race condition between async worklet creation and sample delivery

3 participants