Converting AU transport info to VST time info?
Converting AU transport info to VST time info?
- Subject: Converting AU transport info to VST time info?
- From: Howard Moon <email@hidden>
- Date: Thu, 2 Dec 2004 12:46:52 -0800
Hi all,
I'm working on a vst plug-in "wrapped" as an Audio Unit, and am implementing the
CallHostTransportState time & transport information in the AUBase class. I've looked at some code from a couple sources (including DestroyFX), but don't see anyone setting the particular information I need. In particular, I need to set the VstTimeInfo member, samplePos. The third parameter of the
CallHostTransportState function (
outCurrentSampleInTimeLine) seems to be what I need, but I need to know how to convert it to the samplePos that my wrapped vst plug-in needs. Simply assigning it doesn't seem to be working, perhaps because that parameter needs to be converted and/or offset somehow? In any case, if you've got any advice as to how I can compute samplePos from the
outCurrentSampleInTimeLine parameter, I'd appreciate hearing it.
Thanks much,
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