title: How to get the default Equalizer to work with my current Audio Session ID
body: <p>I want to make the users default equalizer work with my app, but I can't seem to get my app audio session to connect with the equalizer even though I am passing it my Audio Session ID etc.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>          Intent i = new Intent(AudioEffect.ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL);
              i.putExtra(AudioEffect.EXTRA_AUDIO_SESSION, MusicPlayerService.getMPSessionId());
              startActivityForResult(i, 11113);
  </code></pre>
  
  <p>I am using the code above to launch the user's default Equalizer.</p>
  
  <pre><code>    @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      if (resultCode == RESULT_OK) {
  
          System.out.println("RESULT_OK");
  
          Equalizer equalizer = new Equalizer(0,MusicPlayerService.getMPSessionId());
          equalizer.setEnabled(true);
  
          return;
      }
  
  }
  </code></pre>
  
  <p>And then I am using the code above to apply enable and apply it. What am I doing wrong here? I have a few apps on my phone that use the stock Equalizer and they all work fine.</p>
  
  <p>If somebody could help me out, that would be highly appreciated, thanks.</p>