Open jaychang0917 opened 7 years ago
I think there is no way to get amplitude when using AudioRecord
, it's an API of MediaRecorder
.
The method presented in here works, but it only shows how to calculate amplitude for PCM16.
Well, that's cool, but I'm too busy these days, so your pr is welcome!
It would be better if the
StreamAudioRecorder
supports amplitude callback.