What steps will reproduce the problem?
1. When AudioRecord loops at run(), we have to release recorder too at
MicrophoneInput class(recorder.release()).
What is the expected output? What do you see instead?
I used MicrophoneInput class to my app, which must dynamically turn on or off
microphone due to power consumption. I configured at onPause() to stop
recording, and at onResume() to restart recording.
Yet result was not good, decibel meter went to minus(for example : -39dB).
What version of the product are you using? On what operating system?
I have used the source what is here and I'm using Android 4.1.2 JZO54K.
Please provide any additional information below.
I couldn't know why recorder must be released and restarted. But this is just
one solution for bug :-(.
Original issue reported on code.google.com by
charlie....@gmail.comon 3 Mar 2013 at 3:46