Record with high volume in android

99封情书 提交于 2019-12-04 10:00:19

问题


I am doing audio recording using MediaRecorder, but unfortunately when I playback the recorded audio, I have media with a very low volume. I don't hear anything (almost anything).

Is there any possibility to increase recording volume? Like setVolume() when we record? I try to see in MediaRecorder API but i can't find setVolume or something like that.. Is there any work around? Thanks.


回答1:


Well after some r&d and googling i found is there is no specific volume for mic. when you are recording that takes media volume as mic volume.

So to set it, Goto

Settings->Sound->Volume->

and check Media volume.

If you wan to Record in the full Volume then keep Media Volume high and if you want to record in low Volume then keep Media Volume Small.

AIK there is no other sollution.

So please do it for your case.



来源:https://stackoverflow.com/questions/9328366/record-with-high-volume-in-android

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