rplay fails to run
Nils Kassube
kassube at gmx.net
Tue Feb 10 19:27:33 UTC 2015
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
More information about the ubuntu-users
mailing list