title: Audio recording delay
body: <p>I'm writting an application for Android where my goal is to record the user singing. After the recording, I play the record synced with the instrumental one (which is not a problem).</p>
  
  <p>The problem is when I start recording at the same time as playing the audio I suspect there is a delay for the recording to start: (it is noticeable when I try to play the recording later when the recording recorded the instrumental too). The delay might be around 300ms on nexus 5.</p>
  
  <p>My inquiries are:</p>
  
  <ul>
  <li>is the delay constant on all Android devices (4.0 +)?</li>
  <li>how to calculate delay without <a href="http://source.android.com/devices/audio_latency.html" rel="nofollow">involving complex methods</a>?</li>
  <li>is it acceptable on mobile device, to open the audio recording and scale it
  to instrumental (which may involve audio decoding/encoding)?</li>
  </ul>
  
  <p>How to get rid of the delay?</p>