how to fix port audio error : unanticipated host error
조회 수: 129 (최근 30일)
이전 댓글 표시
when i run this code ,it should have sound of Do Re Me but it didn't. So it show me that "Port audio error : unanticipated host error" it's about some port in my notebook or not?
댓글 수: 2
Adam Danz
2021년 10월 20일
편집: Adam Danz
2021년 10월 20일
Data point:
This error occured immediately after updating my Radeon graphics card 540X Software vs 21.8.2 (R2021b).
Error using asyncio.MessageHandler/onError (line 31)
PortAudio Error: Unanticipated host error
Error using asyncio.MessageHandler/onError (line 31)
Audio output device has become unresponsive: 1024 sample(s) remain after timeout.
But even sound from YouTube isn't working so it's likely not a Matlab error in my case. Updating my audio driver fixed it (windows 10 pro).
답변 (4개)
Peiling Lu
2017년 6월 21일
I change the plug in interface from the front of the main engine to the back. And it works!
댓글 수: 0
David Crist
2017년 7월 27일
I'm curious if anyone from The Mathworks has experienced this error. I am currently experiencing this error on R2016b, Win10, x86-64
댓글 수: 0
Daniel
2023년 3월 23일
I had this error message pop up. Took me embarasingly long to realize that the sound driver was tied up by another open application (windows media player). It's not a very descriptive way of indicating this. Closed the player and everything worked.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!