The problem disappeared after I upgraded to R2016a.
ALSA Audio Capture on Raspberry Pi gives run error
1 view (last 30 days)
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?