bryanb
Posts: 2
Joined: Wed Feb 13, 2013 3:53 am

audio out, and headless

Wed Feb 13, 2013 4:00 am

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.

User avatar
socialdefect
Posts: 110
Joined: Mon Jun 25, 2012 9:02 pm
Location: Tilburg, the Netherlands
Contact: Website

Re: audio out, and headless

Wed Feb 13, 2013 8:00 am

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!!
== If it's not broke... I'm not done fixing it! ==

bryanb
Posts: 2
Joined: Wed Feb 13, 2013 3:53 am

Re: audio out, and headless

Thu Feb 14, 2013 3:52 am

Thanks! I think that will work out just fine.

Return to “Beginners”