Question on MusicalTimeLocation callbacks
Question on MusicalTimeLocation callbacks
- Subject: Question on MusicalTimeLocation callbacks
- From: "Angus F. Hewlett" <email@hidden>
- Date: Thu, 08 Jan 2004 13:32:22 +0000
Hi all,
Simple question:- is it legal for an AU to call the musical time location
callbacks from places other than the audio thread?
We are seeing a behaviour in the VST-AU Adapter where a few VST plugins are
calling back for time info from the GUI thread (to show time related things
on the screen); however, one of the major AU hosts is crashing if the
musical time location callbacks are called from outside the audio render
thread.
My own view on the matter is that:-
* A host should be bulletproofed against this sort of thing anyway;
* Plugins should only call these callbacks from the render thread, as they
are in any case only accurate in the context of an audio render. It should
be the plugin's responsibility to send timing information on to its GUI if
it needs to.
Regards,
Angus.
=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd -
http://www.fxpansion.com
=======================================================
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.