Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the lowest round-trip audio latency achievable with iPhone 4?

Tags:

ios

iphone

audio

What is the lowest input->output audio passthru latency possible with iPhone 4 / iOS 4.2? I just want to take input from the mic and play it over the headphones with the smallest delay. I'd like to know the theoretical minimum and minimum actually observed, if possible.

like image 226
Matt Montag Avatar asked Oct 14 '11 07:10

Matt Montag


1 Answers

An app can usually configure Audio Unit RemoteIO input/record and output/play buffers of length 256 at a 44.1k sample rate. Thus 6 to 12 mS is probably a lowest bound, just from the minimum iOS API buffer filling/handling delay (and not including OS, driver, DAC, amp, speaker, and speed-of-sound-in-air time-of-flight delays).

like image 53
hotpaw2 Avatar answered Oct 25 '22 00:10

hotpaw2