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.

Michael
  • 1,816
  • 7
  • 21
  • 35

1 Answers1

2

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

JiTHiN
  • 6,548
  • 5
  • 43
  • 69
  • Can anyone verify this works? I'm not currently working with this project any more. – Michael Jul 23 '12 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. – Philip Pearl Jan 31 '13 at 13:28