Re: HostCallback_GetBeatAndTempo
Re: HostCallback_GetBeatAndTempo
- Subject: Re: HostCallback_GetBeatAndTempo
- From: Earl Vickers <email@hidden>
- Date: Sun, 11 Jun 2006 23:30:56 -0700
At 5:33 AM +0100 6/12/06, Angus F. Hewlett wrote:
From the crash log, it looks like you're calling the beat-and-tempo
proc from your UI thread. DP doesn't like that.
I'm not sure if there's been a ruling from the AU team as to whether
it's legal to call that callback from anywhere other than your
render method.. it doesn't really make sense to do so (as "current
song position" has no meaning in any other context), but OTOH it's
not nice of DP to crash if you do.
Workaround:- call the callback only from your render method; cache
the values returned if you need to display them on your UI.
That's probably it, thanks!
Earl
The Sound Guy, Inc.
http://www.sfxmachine.com
_______________________________________________
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