• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AU instrument multiple instantiation issues (threading?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AU instrument multiple instantiation issues (threading?)
      • From: Brian Willoughby <email@hidden>
    • Re: AU instrument multiple instantiation issues (threading?)
      • From: tahome izwah <email@hidden>
    • Re: AU instrument multiple instantiation issues (threading?)
      • From: philippe wicker <email@hidden>
  • Prev by Date: Re: can I use 2 audiosession at the same instance
  • Next by Date: Re: AU instrument multiple instantiation issues (threading?)
  • Previous by thread: Re: can I use 2 audiosession at the same instance
  • Next by thread: Re: AU instrument multiple instantiation issues (threading?)
  • Index(es):
    • Date
    • Thread