I want to develop an vu-meter and it reacts with sound, like a live-wallpaper Can anybody help me...
Asked
Active
Viewed 2,610 times
1 Answers
-4
Use MediaRecorder.getMaxAmplitude
This method returns the maximum absolute amplitude that was sampled since the last call to this method. Call this only after the setAudioSource().
http://developer.android.com/reference/android/media/MediaRecorder.html

jordenysp
- 2,644
- 22
- 17
-
1OP asked for MediaPlayer, not MediaRecorder. – Farhad Malekpour Feb 24 '18 at 01:47