2 AudioQueue questions
- by iter
I am learning to use AudioQueue. I wish to generate an audio stream programmatically. I have 2 issues that I cannot account for.
I am getting audio when I run in the simulator, but not on an iPhone. (Other apps do produce sound on the phone).
I get about 20ms-long gaps of silence between buffers.
In my testing, I generate an audio buffer on startup and repeatedly enqueue it without modification. I don't spend any processing on filling audio buffers at runtime, not even copying them.
Ari.