RxAndroidAudio
RxAndroidAudio copied to clipboard
Support amplitude callback to StreamAudioRecorder
It would be better if the StreamAudioRecorder supports amplitude callback.
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!