How to detect Android audiostream underflow/overflow?
<p>I'm currently using the AudioRecord java object to receive audio from the microphone. Sometimes I don't pull data sufficiently fast (E.g, when an application switch occurs). Is there any method for me to know that the audiostream was interrupted with an audiobuffer underflow ?</p>
