Android AudioRecord - Won't Initialize 2nd time

前端 未结 5 1702
刺人心
刺人心 2020-12-31 08:52

Hej, im currently trying to get AudioRecord to work. Because I need it in a bigger project. But it seems to mess up a lot. I have been trying alot of things, so I went back

5条回答
  •  臣服心动
    2020-12-31 09:18

    To Answer my own question, the only way i found it doable to use AudioRecord, is to never have it as an global variable, dont know why, but it seems it won't let you release the resources of the instance correctly if you do so.

提交回复
热议问题