views:

18

answers:

0

Hey everyone,

I'm just looking thought the apple iOS example "SpeakHere" http://developer.apple.com/library/ios/#samplecode/SpeakHere/Listings/Classes_AQPlayer_mm.html%23//apple_ref/doc/uid/DTS40007802-Classes_AQPlayer_mm-DontLinkElementID_12 and I was wondering what's the best approach for using the above, but with two audio files, so I can have them either playing synchronously or asynchronously. I tried:

player->CreateQueueForFile(CFStringRefToSong1);
player->CreateQueueForFile(CFStringRefToSong2);

...however that doesn't seem to add two files to the queue... So what I tried afterwards was creating two Audio Queue Players, and setting them manually, but that ultimately defeats the purpose of having synchronous audio :\

Could anyone shed some light on my situation?