Hi
I've installed Pd-extended on my Raspberry Pi with a Wolfson audio card. The first time I started it it gave me the error "Audio I/O stuck, closing audio" despite this I still had sound. After shutdown and reboot of the Pi Pd gives the error "Alsa input error(restart failed)cannot allocate memory" and the same for output. It scrolls this error repeatedly before displaying the audio stuck message again after this there is no audio. Can anyone please help?
Thank you
-
Alsa input/output error Raspberry Pi
-
I have a similar case here.
It gives me the Audio In / Out Error but PD still outputs simple sounds.
With a more complex PD sketch the sound starts to crack and PD spits out tons of lines with the memory allocation error, which are only for the "input" in my case. From that point the sound doesnt work at all anymore, even after I ./reset_Path for the Wolfson Card and set it up again.
When I try to play a song in the Music Player it just closes down.
After a reboot everything works again, until I restart the PD patch.
Going to debug my PD sketch. Without the Wolfson it always worked fine, except for the low Sound Quality the Raspi has without it, so I think if there is a way to fix the Audio I/O error that occurs even though audio works in the beginning, it could be working..
Is there a known solution already? -
I fixed it by adding
-audiodev 0
as a startup flag. This seemed to get rid of the memory allocation error. Still get the odd error that pops up but it doesn't affect the sound at all. Hope this helps. -
Thank you very much!
With this, it still gives me the Audio I/O error but it doesn't crash the audio anymore, there is no memory allocation error anymore and everything seems to work fine now.
Would like to know why it's still claiming an audio error.
Edit:
Memory error occured again, audio crash happened again.
F*ck.
Posting again when I managed to fix something. -
Strange, that worked for me. The only other changes I had made were to overclock to 1GHz and alter the memory share. As I was using the PI headless I wasn't too concerned about graphics.