title: Record/capture internal sound playback of Android app and export mp3?
body: <p>Is it possible to record the internal sound generated by the app?</p>
  
  <p>My app allows you to create and play back musical sequences.</p>
  
  <pre><code>soundPool.play(soundIds[i], 1f, 1f, 1, 0,  Constants.TIME_RATE);
  </code></pre>
  
  <p>I'd like to be able to record the sequence and export to mp3.</p>
  
  <p>I've looked into <strong><em><a href="http://developer.android.com/guide/topics/media/audio-capture.html" rel="noreferrer">Audio Capture</a></em></strong> but setAudioSource (int audio_source) only seems to accept MIC recording.</p>
  
  <p>Thanks</p>