Adjust Microphone Recording Volume

眉间皱痕 提交于 2019-12-03 08:49:11

问题


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:


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



来源:https://stackoverflow.com/questions/5994683/adjust-microphone-recording-volume

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!