title: Does openSL ES for Jelly Bean 4.3 support audio route switching?
body: <p>Is it possible to get available audio endpoints (earpiece, speakerphone, wired headset, bluetooth headset) via the openSL ES API for Android 4.3 ?</p>
  
  <p>Or is all that stuff done at the Java level ?</p>
  
  <p>Current situation is that I have implemented an openSL ES audio driver. The driver does nothing but receiving mic packets from the default mic and delivering speaker packets to the default speaker endpoint.</p>
  
  <p>If possible, I would like to create a couple of extra functions in my code. One to inquire about endpoints and another one to set the endpoint.</p>