rplay fails to run
Maurizio Dall'Acqua
mau.h20 at gmail.com
Tue Feb 10 18:53:21 UTC 2015
On Sun, 8 Feb 2015 17:37:46 -0600
Tommy Trussell <tommy.trussell at gmail.com> wrote:
> On Sun, Feb 8, 2015 at 3:55 PM, Colin Law <clanlaw at gmail.com> wrote:
>
> > On 8 February 2015 at 19:43, Maurizio Dall'Acqua <mau.h20 at gmail.com>
> > wrote:
> > > On Sun, 8 Feb 2015 17:33:24 +0000
> > > Colin Law <clanlaw at gmail.com> wrote:
> > >
> > >> On 8 February 2015 at 17:14, Maurizio Dall'Acqua
> > >> <mau.h20 at gmail.com> wrote:
> > >> > On Sun, 8 Feb 2015 16:55:04 +0000
> > >> > Colin Law <clanlaw at gmail.com> wrote:
> > >> >
> > >> >> On 8 February 2015 at 16:30, Maurizio Dall'Acqua
> > >> >> <mau.h20 at gmail.com> wrote:
> > >> >> > Hello,
> > >> >> >
> > >> >> > I use Ubuntu 12.4.2 LTS and I would like to use rplay as a
> > >> >> > tool to play sound events. I have installed from Ubuntu
> > >> >> > Software Centre:
> > >> >> >
> > >> >> > -rplay-server
> > >> >> > -rplay-client
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > Unluckily rplayd doesn't start and gives the following error
> > >> >> > message:
> > >> >> >
> > >> >> > rplayd: bind: Address already in use
> > >> >> >
> > >> >> > I have tried to use rplayd with the option --port=PORT but
> > >> >> > whatever value I give to PORT the previous error message
> > >> >> > comes out.
> > >> >>
> > >> >> I don't know much about rplay and have never used it, but are
> > >> >> you sure the server is not already running, having been
> > >> >> started by the install script?
> > >> >>
> > >> > Yes I'm sure because if I type the command:
> > >> >
> > >> > rplay /some/file.wav
> > >> >
> > >> > rplay doesn't play anything.
> > >>
> > >> I think from that you can be sure it is not working as you
> > >> expect. That is not the same as the server not running. You may
> > >> be right though.
> > >>
> > >> Colin
> > >>
> > >
> > > I'm afraid you're right. Upon your hint, just to be sure, I
> > > checked if I could find the rplay process in the task manager.
> > > And I found it. That can explain the address-already-in-use error
> > > message. But it remains the basic problem that the command:
> > >
> > > rplay /some/file.wav
> > >
> > > doesn't play any sounds at all. I'm puzzled :/
> >
> > Presumably there are some configuration files somewhere to tell it
> > which sound device to use and so on. Perhaps it generates a log.
> > Other than these general suggestions I cannot help I am afraid.
> > Perhaps someone else uses rplay.
> >
>
> I don't use it either, but after some internet searches, it looks
> like the path to success is to increase the level of logging and
> watch for error messages in the log.
>
> I do note that Ubuntu divides things into two packages: rplay-client
> and rplay-server -- so I presume you might need to have the computer
> holding the sound files using the rplay-server package, and the
> machine playing the sounds running rplay-client ?
>
> IF, however, you are just trying to play locally-stored sounds, then I
> gather you might want to install sox and use its play command.
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?
More information about the ubuntu-users
mailing list