I have an algorithm working on android for playing some synthesized audio. I do this using the audiotrack API (http://developer.android.com/reference/android/media/AudioTrack.html). This allows me to effectively push the byte array straight to the audio stream... Meaning as long as I can keep this data coming, it won't glitch or otherwise become inaccurate. 

Is there an equivalent on iOS?

I can't seem to find anything that will let me push an array containing audio data directly to the audio stream. I got my hopes up with Audiograph - but can't see how to do it using that... and that is, apparently the lowest level api. I wonder if perhaps using something related to audio streaming would make sense?

Effectively all I want to do is draw a graph, and have the device play it.

Any ideas appreciated!

Thanks,

Mike