Re: Real-time buffer playback in Swift?
Re: Real-time buffer playback in Swift?
- Subject: Re: Real-time buffer playback in Swift?
- From: Charles Constant <email@hidden>
- Date: Tue, 16 Sep 2014 03:42:26 -0700
Thanks Jamie,
I probably should watched the WWDC videos again before asking the question.
They appear to discuss the information I was after in Session 502 (at 11m45s)
I think the way to do this is either
a) to continually schedule a small portion of audio with a completion callback, and then schedule the next portion when it completes (I'm guessing this won't work due to the time required to reschedule each callback?)
b) schedule as many portions as possible without waiting, and then handle the GUI updates only with their completion callbacks
I'd still be interested in hearing others' experiences with this. I'm wondering about the best way to do this without the playback becoming choppy, etc.
Cheers,
Charles