Unable to access microphone when another app is using it in Android

前端 未结 2 1093
无人及你
无人及你 2021-01-04 19:58

I\'m using code from the following URL in order to get sound data from the microphone with AudioRecord: http://www.dreamincode.net/forums/topic/303235-visualizing-sound-from

2条回答
  •  醉梦人生
    2021-01-04 19:59

    If you are using the "OK Google" function with the option to access it from any page, try turning that off (the 'any page' bit From Google app screen MENU>SETTINGS>VOICE>"OK GOOGLE DETECTION">FROM ANY SCREEN=OFF): it hijacks the microphone, or can do.

提交回复
热议问题