AudioKit / AudioKitSynthOne

AudioKit Synth One: Open-Source iOS Synthesizer App
http://audiokitpro.com/synth
MIT License
1.69k stars 219 forks source link

Split dsp message queues #143

Closed marcus-w-hobbs closed 4 years ago

marcus-w-hobbs commented 4 years ago

Many crashes are in the message queue after it’s been dispatched…very difficult to debug.

Create a dsp/main thread message queue for each type of event:

AEMessageQueue _messageQueueDependentParameter; AEMessageQueue _messageQueueBeatCounter; AEMessageQueue _messageQueuePlayingNotes; AEMessageQueue _messageQueueHeldNotes;

sieren commented 4 years ago

awesome! Maybe this fixes the messagequeue crashes we've been seeing for ages!