RxAndroidAudio icon indicating copy to clipboard operation
RxAndroidAudio copied to clipboard

Support amplitude callback to StreamAudioRecorder

Open jaychang0917 opened this issue 8 years ago • 3 comments

It would be better if the StreamAudioRecorder supports amplitude callback.

jaychang0917 avatar Mar 10 '17 08:03 jaychang0917

I think there is no way to get amplitude when using AudioRecord, it's an API of MediaRecorder.

Piasy avatar Mar 10 '17 09:03 Piasy

The method presented in here works, but it only shows how to calculate amplitude for PCM16.

jaychang0917 avatar Mar 10 '17 10:03 jaychang0917

Well, that's cool, but I'm too busy these days, so your pr is welcome!

Piasy avatar Mar 10 '17 11:03 Piasy