[MPlayer-users] [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
auerswal at unix-ag.uni-kl.de
Mon Oct 27 16:28:26 CET 2014
On Mon, Oct 27, 2014 at 02:17:50PM +0000, Jim Cross wrote:
> Hi Erik, many thanks for the prompt reply - and that's the answer! Saved me
> waiting around for four hours :) (lots of beer 4 u)
> The answer being the config file.... However...
> The previous (and old) MPlayer ver I had installed using 'sudo apt-get -y
> install mplayer'. This appears to pickup the web server created user
> 'www-data' and I believe MPlayer auto created the .mplayer dir in
> '/var/www/' (with an empty conf).
> The 'however', the new ver (using svn and make) probably doesn't?
> Part of my build is to set the conf file in this dir (/var/www/.mplayer,
> with 'ao=alsa,pulse,sdl:aalib' - as it appeared to be working I didn't
> look any further until you mentioned the conf file - THANKS.
> Although I can edit the 'installed mplayer' user 'pi' conf file (~/.mplayer
> - and obviously it works), my preference is to control files in the web
> server users directory (/var/www/). Is there a way to get mplayer to pickup
> the www-data users dir /var/www/ and register the .mplayer dir there?
> (I know I can edit mplayers global file but don't want to do that either...)
You can use mplayer's -include option, or you can use the MPLAYER_HOME
environment variable (see the MPlayer man page for details).
I do like the 24 hour a day development process. I can describe a
problem, go to sleep, and have the answer in my mailbox with my first
cup of coffee.
-- Dave Täht
More information about the MPlayer-users