18

We are trying to adjust the volume level at which we record. It seems like the microphone is very sensitive and picks up a lot of static.

We looked at setVolumeControlStream, but could not find a stream to pass into it to control the microphone.

1 Answer 1

2

Set your audio source as 'MIC' using MediaRecorder.AudioSource class and adjust volume by calling onVolumeSetRequest method.

2
  • Can anyone verify this works? I'm not currently working with this project any more.
    – Michael
    Jul 23, 2012 at 16:16
  • I can't see what object you would call this callback on, so the answer doesn't make sense to me. Would be great if you can clarify. Jan 31, 2013 at 13:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.