tonyfelloni
Posts: 2
Joined: Sun Feb 09, 2014 7:38 pm

RPi Audio Output

Wed Jan 14, 2015 2:02 pm

Hi

I have a RPi configured as an internet radio using MPC/MPD based on ALSA driver. Sometimes the audio output dies and well not come back up until I run mpc play again. What I would like to do is find a way to monitor the audio output and detect when the audio output dies. I'm not sure how to do this, one method I have considered is to monitor the WiFi RX data to see if the stream has stopped. I would like a better method.

My ear can detect when the audio output has died and I can type mpc play to get it going again, I want to implement a software solution that does exactly what my ear does.

Any pointers or suggestions should get me off on the right track, I don't necessarily need a fully working solution.

Thanks for reading

Tony

User avatar
r3d4
Posts: 983
Joined: Sat Jul 30, 2011 8:21 am
Location: ./

Re: RPi Audio Output

Thu Jan 15, 2015 8:46 am

Take a look at

Code: Select all

dmesg 
log's ,.. IDK but perhaps something related to the audio drop outs is displayed in the log ?
Real life is, to most, a long second-best, a perpetual compromise between the ideal and the possible.
-
Meanwhile, the sysadmin who accidentally nuked the data reckons "its best not run anything more with sudo today"
-
what about spike milligan?

Return to “General discussion”