Android AudioRecord fails to initialize

前端 未结 2 465
天涯浪人
天涯浪人 2021-01-21 22:31

I\'ve been having an issue with using AudioRecord for Android. I\'ve read as much as I can find online about it, but I cannot seem to get a good initialization. I have tried the

2条回答
  •  太阳男子
    2021-01-21 23:06

    I think he means you need the RECORD_AUDIO permission in the manifest:

    
    

    That worked for me.

提交回复
热议问题