Page 1 of 1

audio out, and headless

Posted: Wed Feb 13, 2013 4:00 am
by bryanb
Im setting up a Raspberry pi for a little practical joke.

I need it to play audio out of the analog audio jack, but I've found that it only plays when the analog video is also connected to a video output device (my TV in my testing).

Can this be made to run the audio without there being any video device around? Using 2013-02-09-wheezy-raspbian as the OS on it.

thanks.

Re: audio out, and headless

Posted: Wed Feb 13, 2013 8:00 am
by socialdefect
It should work... For the output check if the right output is selected by alsa by running:

Code: Select all

alsamixer
Press [F6] to select the correct interface.

For playing headless audio I like to use Mplayer or VLC (package might be named cvlc) as they both have their advantages. Both are more than appropriate to be used in scripts etc.. I use cvlc for example to play video's that are activated by placing a photo with RFID chip in front of a computer.

Have Fun!!

Re: audio out, and headless

Posted: Thu Feb 14, 2013 3:52 am
by bryanb
Thanks! I think that will work out just fine.