Performance across different iOS devices
Hey Michael & the rest of y'all who know way more than I do about all this,
I'm working on a project that triggers audio files on different devices over a local network. TAAE has been the best of the five audio frameworks I've trialed so far, but testing on an iPhone 4S and a 4th-gen iPod touch, I'm seeing an odd situation.
The files begin playing perfectly in sync, but then they drift perceptibly out of sync — as if one device is playing the file slightly faster than the other. After about a minute, the drift is noticeable, and it gets worse from there.
This occurs consistently whether I use AudioUnitFilePlayer (streaming from disk) or AudioFilePlayer (loading into memory), and with compressed (AAC) and uncompressed (AIF) test files.
I can post code samples, but there's nothing complicated happening in the code, and the audio begins perfectly in sync. I was wondering if anyone could suggest ideas or experiments to see what's going on here? Or if this is something inherent to audio on iOS? I assumed that a five-minute audio file would take pretty close to exactly five minutes to play on any device, and that's not the case here.
Even vague thoughts would be much appreciated as it might help me understand what's going on.
Thanks very much!