开发者

Getting microphone volume while recording

开发者 https://www.devze.com 2023-03-24 13:28 出处:网络
I\'m using the simple app shown in the Android documentation to play around with recording and playing audio. Just to add a small feature, I want to get the volume of the microphone while it\'s record

I'm using the simple app shown in the Android documentation to play around with recording and playing audio. Just to add a small feature, I want to get the volume of the microphone while it's recording to move a bar like how the voice recognition开发者_JS百科 will fill the microphone while you are speaking into it. I looked around online, but no one seems to have a definitive answer, could someone point me in the right direction? Thanks!


i think there is no specific volume for mic. when you are recording that takes media volume as mic volume.

0

精彩评论

暂无评论...
验证码 换一张
取 消