Re: Sharing data between UI and AU
Re: Sharing data between UI and AU
- Subject: Re: Sharing data between UI and AU
- From: Paul Davis <email@hidden>
- Date: Wed, 23 Feb 2011 10:16:14 -0500
On Wed, Feb 23, 2011 at 10:12 AM, Howard Moon <email@hidden> wrote:
> The primary concern, naturally, is that the DSP code can instantly access any random portion of the data, with no delay for a request for that data to be fulfilled. My question is, is there a way I can store a large data array in my DSP, yet have the GUI access it for display of that data, (and modification of that data when not blocked by the DSP)? Or has Apple's decision to completely separate the two parts left me out in the cold?
you have no control over whether or not the gui runs in the same
process as the dsp, although in all (?) existing hosts, this is true.
so you can either go for the obvious hack of a shared data area, with
RT-safe interlocking (itself quite tricky to get right), or accept the
fact that you need a protocol to exchange parameter changes between
the DSP and the GUI and be ready for the future when the GUI and DSP
might not even be on the same machine.
_______________________________________________
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