Re: Sharing data between UI and AU
Re: Sharing data between UI and AU
- Subject: Re: Sharing data between UI and AU
- From: Ian Kemmish <email@hidden>
- Date: Wed, 23 Feb 2011 16:45:15 +0000
On 23 Feb 2011, at 07:12, Howard Moon <email@hidden> wrote:
I know that AudioUnits are intended to have the processing code and
UI completely separate. But what if the two need to share a large
amount of data? For reasonable data sizes, obviously a property can
be used, and the data copied between the two. But what if the
amount of data is large (i.e., several Mb)?
On a modern computer, several Mb of data is no more burdensome than a
few tens of Kb used to be for us old-timers. It's not like you're
actually having to copy it by hand, after all.
People start to fret if the computer goes quiet for maybe a quarter of
a second or more. Figure out how much data memmove() can copy out of
your AU in a quarter of a second. It's a lot.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
Ian Kemmish 18 Durham Close, Biggleswade, Beds
SG18 8HZ
email@hidden Tel: +44 1767 601361 Mob: +44 7952
854387
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
_______________________________________________
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