Fwd: Fwd: How does one update a view position during a core audio render callback?
Fwd: Fwd: How does one update a view position during a core audio render callback?
- Subject: Fwd: Fwd: How does one update a view position during a core audio render callback?
- From: "Dave O'Neill" <email@hidden>
- Date: Sun, 08 Mar 2015 10:48:36 -0700
---------- Forwarded message ----------
From:
Dave O'Neill <email@hidden>Date: Sun, Mar 8, 2015 at 10:48 AM
Subject: Re: Fwd: How does one update a view position during a core audio render callback?
To: "Patrick J. Collins" <
email@hidden>
Did you try running the example I made?
https://gist.github.com/dave234/72bce8798dc7b1ade48b It's not meant to be a shining example of how to get a playhead position so much as it is to show a simple way of getting a value that is set from the render thread without potential blocking/obj-c messaging. And to demonstrate that the timer works fine and doesn't slow down when added with NSRunLoopCommonModes. If you don't add your timer with timerWithTimeInterval instead of using scheduledtimerwithtimeinterval then adding it to a run loop will have no effect.
_______________________________________________
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