Re: Sharing data between UI and AU
Re: Sharing data between UI and AU
- Subject: Re: Sharing data between UI and AU
- From: Howard Moon <email@hidden>
- Date: Wed, 23 Feb 2011 10:28:27 -0800
>
>> Well, actually it's more than just "several" Mb... it can easily be as high as 100Mb. Even on modern machines, that's pretty high.
>
> I find it hard to believe one can eyeball 100Mb in a single glance. :-) Have you considering exporting a précis of the data?
>
The DSP code has no idea where in time the host might jump or loop to, and thus needs complete random access to the data. Otherwise it would have to output silence until it received the required data.
The UI can display the entire contents of the data at one time, if desired (although it's pretty unreadable if you're looking at anything more than a few minutes' worth). But even display aside, it has functions that process all or a selected portion of the recorded data in a single pass, so the UI needs complete random access to the data as well.
I currently have a procedure that replaces the DSP's data with updated data from the UI, with protection from doing so while the DSP is processing. But in order for this to work, I need to complete the swap in one idle cycle (since the DSP can't be told to wait). I'm not confident that physically copying the data across processes will be fast enough (especially since I'm already pushing some machines' capabilities just updating the graphics).
-Howard
_______________________________________________
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