title: Audio output on headset & speakerphone simultaneously
body: <p>I'm trying to create a dual screen setup. The Android tablet (Nexus 10) is connected to another screen using HDMI.</p>
  
  <p>When playing movies on the tablet (using VLC or other Apps), it will be displayed on both screens properly. <br />
  However, the Audio signal is only transferred via HDMI. Using the <a href="https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix" rel="noreferrer">SOUNDAbout App</a> we managed to have the Audio output on <em>either</em> headset or HDMI.</p>
  
  <p>I cannot see a function to set the audio output for both devices at the same time.
  I tried setting it up with the Audio Manager, but it only works for one channel.</p>
  
  <pre><code>AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
  
  am.setSpeakerphoneOn(true);
  am.setWiredHeadsetOn(true);
  </code></pre>
  
  <p>Another thing I noticed is the setParameters API which then passes variables to the platforms Audio system. That might be ALSA, perhaps the solution is there?</p>