2 AudioQueue questions
Posted
by iter
on Stack Overflow
See other posts from Stack Overflow
or by iter
Published on 2010-03-27T06:46:37Z
Indexed on
2010/03/27
6:53 UTC
Read the original article
Hit count: 407
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.
© Stack Overflow or respective owner