Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support amplitude callback to StreamAudioRecorder #25

Open
jaychang0917 opened this issue Mar 10, 2017 · 3 comments
Open

Support amplitude callback to StreamAudioRecorder #25

jaychang0917 opened this issue Mar 10, 2017 · 3 comments

Comments

@jaychang0917
Copy link

It would be better if the StreamAudioRecorder supports amplitude callback.

@Piasy
Copy link
Owner

Piasy commented Mar 10, 2017

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

@jaychang0917
Copy link
Author

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

@Piasy
Copy link
Owner

Piasy commented Mar 10, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants