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: "Patrick J. Collins" <email@hidden>
- Date: Sun, 08 Mar 2015 10:36:57 -0700 (PDT)
> 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];
Yeah unfortunately this didn't work either... It seems that it fires
properly until audio starts playing, and then the timer callback
frequency goes down to the point that it only gets called 5 or 6 times
over a 1.6 second period... Super weird.
Patrick J. Collins
http://collinatorstudios.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