AudioQueue playback example in memory

Does anyone know of any examples using AudioQueue that play from a source in memory?

All the examples that I can find to play from files (using AudioFileReadPackets), but in my particular case I myself generate real-time data so perfectly, I want to insert the data myself, and not suck it from the file using a callback.

Any help is greatly appreciated.

+4
source share
3 answers

I know an example of using audio devices that you could adapt, since callbacks are very similar, try here

0
source

, , , , , PCM AudioFileReadPackets.

AudioQueue fooobar.com/questions/298678/....

0

SpeakHere Example may be the best example for you. This example records sound from the device and plays. This example can be found on the Apple website.

0
source

All Articles