rplay fails to run

Maurizio Dall'Acqua mau.h20 at gmail.com
Tue Feb 10 20:19:02 UTC 2015


On Tue, 10 Feb 2015 20:27:33 +0100
Nils Kassube <kassube at gmx.net> wrote:

> Maurizio Dall'Acqua wrote:
> > I have interrupted the rplayd PID and I have re-launched rplayd in
> > debug mode. This is the result:
> > 
> >  sudo rplayd -d
> > rplayd: running as group audio (29)
> > rplayd: running as user nobody (65534)
> > rplayd: adding helper for "\.mp[1-3]$"
> > rplayd: adding helper for "\.ogg$"
> > rplayd: creating cache directory `/tmp/.rplay-cache'
> > rplayd: rplay_audio_init: cannot open /dev/dsp
> > rplayd: audio disabled
> > rplayd: authentication enabled
> > rplayd: md-DOTS-E2 rplayd 3.3.2 ready.
> > rplayd: entering idle mode
> > 
> > where I can see that rplay can't access /dev/dsp. Then I have looked
> > http://rplay.doit.org/ and I have seen that:
> > 
> > * Added devrplay.so which can be used with LD_PRELOAD to add rplay
> >   support to audio applications use /dev/dsp.
> > 
> > So I have exported LD_PRELOAD in this way:
> > 
> > export LD_PRELOAD=/usr/lib/devrplay.so
> > 
> > but the result is the same as before: rplay can't access /dev/dsp.
> > 
> > Any thoughts on this?
> 
> I'm not sure what you want to achieve with that devrplay.so. As I 
> understand it, there is no /dev/dsp on a default Ubuntu system and to
> me it doesn't look like devrplay.so would add that device. Instead
> that library seems to add support to read the /dev/dsp device if it
> is available.
> 
> And BTW: Did you configure rplayd with the config file? According to 
> <http://manpages.ubuntu.com/manpages/trusty/en/man5/rplay.conf.5.html>
> I would expect that only sound files from that config files are
> available to rplayd.
> 
> 
> Nils
> 
> 

Since there isn't /dev/dsp in a default Ubuntu system what can replace
it? I mean can I create a symlink to /dev/default-ubuntu-audio-device?
If so, what is it?

And thank you for pointing me to this man page where there's the
explanation of rplay.conf. It slipped my notice.




More information about the ubuntu-users mailing list