diff --git a/app/src/main/java/com/frank/ffmpeg/activity/EqualizerActivity.kt b/app/src/main/java/com/frank/ffmpeg/activity/EqualizerActivity.kt index f91ce90..f21e448 100644 --- a/app/src/main/java/com/frank/ffmpeg/activity/EqualizerActivity.kt +++ b/app/src/main/java/com/frank/ffmpeg/activity/EqualizerActivity.kt @@ -94,7 +94,7 @@ class EqualizerActivity : BaseActivity(), OnSeeBarListener { mAudioPlayer?.setOnFftCallback { if (visualizerView != null && it != null) { for (i in it.indices) { - fftData[i] = (it[i]/*10/4.2f*/).toByte() + fftData[i] = (it[i]).toByte() } visualizerView!!.post { visualizerView!!.setWaveData(fftData) } }