Hi,
What I need to do is have a custom AVAudioPlayerNode that generates samples for playback. I am unclear as to how this works.
I know that the AVAudioPlayerNode has a function to scheduleBuffer: but this seems to imply that I would need to create all of the audio up-front, which is not what I want to do. I need to create it a little bit at a time on-demand (like when you use AudioQueues).
Is this possible? How is it done?
Also, if anyone can recommend a tutorial, book, or some other resource that explains how this family of functions works, I'd really appreciate that. Yes, Apple documents each class and function, but doesn't provide a good high-level overview as to how it all works. If you click on the link that says AVFoundation programming guide, it doesn't talk about any of this.
Thanks,
Frank