AU instrument multiple instantiation issues (threading?)
AU instrument multiple instantiation issues (threading?)
- Subject: AU instrument multiple instantiation issues (threading?)
- From: Jon Crooke <email@hidden>
- Date: Fri, 23 Jul 2010 10:30:03 +0100
hi all,
so i'm approaching completion of my first AU synth, and have begun to test it in various DAWs and have discovered what must be some kind of very large flaw in my design: it does not appear to support multiple instantiation correctly. this is not something i previously thought would be an issue, but it seems that i must have been entirely wrong about this. the issue:
single instantiation of the instrument works fine, however a second instantiation causes stuttering of the audio. instantiating a second instrument fires up the second core, so clearly they are running on separate threads. it seems like the issue is accessing the instrument's wavetables, however, shouldn't these instantiations and their data be entirely separate processes? internally the instrument has static class methods for accessing this data, so i am aware that this is a threading bottleneck, but since the instrument itself is only single threaded i didn't expect this to be an issue.
anyway, i hope someone can shed some light on this issue
many thanks
j _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden