Searched refs:mEqualizer (Results 1 – 1 of 1) sorted by relevance
51 private Equalizer mEqualizer; field in AudioFxDemo98 mEqualizer = new Equalizer(0, mMediaPlayer.getAudioSessionId()); in setupEqualizerFxAndUI()99 mEqualizer.setEnabled(true); in setupEqualizerFxAndUI()105 short bands = mEqualizer.getNumberOfBands(); in setupEqualizerFxAndUI()107 final short minEQLevel = mEqualizer.getBandLevelRange()[0]; in setupEqualizerFxAndUI()108 final short maxEQLevel = mEqualizer.getBandLevelRange()[1]; in setupEqualizerFxAndUI()118 freqTextView.setText((mEqualizer.getCenterFreq(band) / 1000) + " Hz"); in setupEqualizerFxAndUI()143 bar.setProgress(mEqualizer.getBandLevel(band)); in setupEqualizerFxAndUI()148 mEqualizer.setBandLevel(band, (short) (progress + minEQLevel)); in setupEqualizerFxAndUI()191 mEqualizer.release(); in onPause()