title: Run audio capture for specified time for Android on ADB
body: <p>I'm trying to capture audio from a microphone I have hooked up to an Android board. For this, I'm using tinycap via ADB. I want to create audio files that are 10 seconds long. </p>
  
  <p>When I run the command:</p>
  
  <pre><code>tinycap sdcard/testadudio.wav
  </code></pre>
  
  <p>and CTRL + C manually, it generates an audio file and captures the audio. With command:</p>
  
  <pre><code>timeout 10s tinycap sdcard/testadudio.wav
  </code></pre>
  
  <p>It generates a broken audio file, with no audio.</p>
  
  <p>Any ideas?</p>