Code example for BassBoost

Methods: setEnabled

0
 
  /*³]©w­«§C­µ¤¶­±ªºmethod*/ 
  private void setupBassBoost() 
  { 
    /*¨ú±oMediaPlayerªºAudioSessionId¨M©w­n±±¨îªº­µ¼Ö*/ 
    myBassBoost = new BassBoost(0,myMediaPlayer.getAudioSessionId());
    myBassBoost.setEnabled(true);
 
    TextView bbTitle = new TextView(this);
    bbTitle.setText("­«§C­µ¡G");
    myLayout.addView(bbTitle);
    /*¨Ï¥ÎSeekBar°µ¬°½Õ¾ã¤u¨ã*/ 
    SeekBar bar = new SeekBar(this);
    /*­«§C­µªº½d³ò¬°0~1000*/ 
    bar.setMax(1000);
    bar.setProgress(0);
    /*³]©wSeekBarªºOnSeekBarChangeListener*/ 
    bar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener()
    { 
      public void onProgressChanged(SeekBar seekBar,int progress,
                                    boolean fromUser)