ALSA Audio Capture on Raspberry Pi gives run error

조회 수: 2 (최근 30일)
Rinus Boone
Rinus Boone 2016년 3월 4일
댓글: Sankirna Joge 2016년 11월 10일
The ALSA Audio Capture block of the Simulink Support Package for Raspberry Pi Hardware gives a run error. I have a USB sound card connected with 'hw:1,0'. I use R2015b on Macintosh and a Raspberry Pi 2B. The diagnostics says "An error occurred attempting to open an rtIOStream". When I run the program directly from the command line of the Raspberry Pi I get the following error:
@simberry ~/AlsaInOut_rtt/MW $ ./AlsaInOut
*starting the model***
snd_pcm_hw_params_set_access: Invalid argument
Error setting audio hardware parameters for 'hw:1,0': Invalid argument
The ALSA Audio Playback does work correctly.
Is there anyone who can help?

채택된 답변

Rinus Boone
Rinus Boone 2016년 11월 10일
The problem disappeared after I upgraded to R2016a.

추가 답변 (1개)

Sankirna Joge
Sankirna Joge 2016년 11월 10일
i am facing the same problem of simulink while connecting to pi hardware.. plz suggest any solution asap thank you
  댓글 수: 1
Sankirna Joge
Sankirna Joge 2016년 11월 10일
I would like to know if u intalled licened or crack version of 2016a ?? do i need to make changes in raspberry pi 2 model b usb input or it should keep as it is ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by