Re: Fwd: How does one update a view position during a core audio render callback?
Re: Fwd: How does one update a view position during a core audio render callback?
- Subject: Re: Fwd: How does one update a view position during a core audio render callback?
- From: "Dave O'Neill" <email@hidden>
- Date: Sat, 07 Mar 2015 13:42:13 -0800
It looks like your timer might not be firing consistently. I would test that first. I'm not sure what else is going on in your Application but if there is any tracking then a timer will be blocked. If your timer isn't firing as expected try adding it like this:
NSTimer *timer = [NSTimer timerWithTimeInterval:1.0 / 60.0 target:self selector:@selector(moveBox) userInfo:nil repeats:1];
[[NSRunLoop mainRunLoop]addTimer:timer forMode:NSRunLoopCommonModes];
_______________________________________________
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