Skip to content

Force cpal Stream to implement Send+Sync#107

Merged
MyBlackMIDIScore merged 3 commits intomasterfrom
realtime-send
Oct 22, 2024
Merged

Force cpal Stream to implement Send+Sync#107
MyBlackMIDIScore merged 3 commits intomasterfrom
realtime-send

Conversation

@MyBlackMIDIScore
Copy link
Copy Markdown
Member

Should be fine since we realistically only keep Stream for dropping...
One thing we could change to make this more "safe" is removing the play() and pause() functions from the RealtimeSynth struct.

See here and here.

@MyBlackMIDIScore MyBlackMIDIScore linked an issue Oct 18, 2024 that may be closed by this pull request
MyBlackMIDIScore and others added 2 commits October 22, 2024 16:07
Co-authored-by: Leo <leonid.shchurov@gmail.com>
@MyBlackMIDIScore MyBlackMIDIScore merged commit 818dbd6 into master Oct 22, 2024
@MyBlackMIDIScore MyBlackMIDIScore deleted the realtime-send branch October 22, 2024 13:24
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.

Realtime synth is not thread safe

2 participants