gauravsacc / MMM-GoogleAssistant

Google Assistant module for magic mirror https://github.com/MichMich/MagicMirror
MIT License
118 stars 40 forks source link

[FATAL:audio_input_stream.cc(47)] Input device could not be opened: default Aborted #71

Closed vivian0239 closed 4 years ago

vivian0239 commented 4 years ago

I finished install google assistant, and can run sample. After I change async() to pn_async() in assistant.py, when I run: pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant/pi $ sudo /home/pi/env/bin/python3 -u assistant.py I met this FATAL:

[FATAL:audio_input_stream.cc(47)] Input device could not be opened: default
Aborted

But I can run google assistant.

vivian0239 commented 4 years ago

I found a similar issue. And when I modify /home/pi/.asoundrc to the real value(here is the mistake), I got it working.