I sucessfully installed and configured the package for Pi 4 and I was able to run the example without problems yesterday.
After I installed Simulink support as well today and tried to rerun the example code, Pi was returning this error:
Capture overrun: errno = -32 (Broken pipe)
I can still hear the audio from the speaker except it is distorted and discontinous.
I thought this issue is caused by the hardware so I ran arecord and aplay to test and both commands worked fine.
How should I go about this problem? Thank you in advance