title: Android: Record an audio stream and retrieve the latency information
body: <ol>
  <li>I want to write simple test program to record audio stream from input jack (microphone?). </li>
  <li>I must calculate the audio latency information and show it.</li>
  </ol>
  
  <p>I must use NDK or SDK?
  Does there exist a simple source code that does this for me?</p>
  
  <p>In the end, how I can start to write it?</p>