AudioRecord: start() status -38

前端 未结 4 680
旧巷少年郎
旧巷少年郎 2020-12-31 06:00

I have the following problem: I use SpeechRecognizer to identify a few words. I use the

public void onResults

method to destroy the SpeechR

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-31 06:30

    I was having a similar problem to this AudioRecord start() error status -38 what i eventually did was loop over the possible configurations of the audio recorder like the answerer said in this question AudioRecord object not initializing I like this method since it doesn't matter what device you run it on it will eventually find a configuration that it likes.

提交回复
热议问题