Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 20:26:10 -0500
From:      Jim Durham <durham@w2xo.pgh.pa.us>
To:        Archie Cobbs <archie@whistle.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: realaudio player
Message-ID:  <32DAE0B2.41C67EA6@w2xo.pgh.pa.us>
References:  <199701130241.SAA11068@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Archie Cobbs wrote:
> 
> > > I downloaded the realaudio player and can play welcome.ra, but
> > > when launched from netscape, it starts downloading but then
> > > fails with the error "cannot open audio device" ...
> > >
> > > Does this sound familiar to anyone?
> >
> > Sure does. I have the same results here, but not with all sites.
> > Sometimes it works. I notice it *always* plays the commercial on
> > the online radio feeds, but fails on the music 8-) .
> 
> That's pretty weird/suspicious :-) Could you send me an url that
> works for you so I can try it?
> 
> > There is also a message saying to check the error number (I believe it's
> > 50) at the realaudio site, but I haven't done this yet.
> 
> I tried this; there's only windows and mac information there, and
> there's not much of it anyway.
> 
Try www.audionet.com . Try the listing of online radio stations. Some
work
for me. Others fail in various ways, most ofter the "can't open audio
device"
problem.

I have a guess. /dev/audio can't be opened twice. If you "click on" the
"listen"
button on one of these radio station pages, you first get a commercial
from
audionet. This plays always. Then, it goes to the on-line feed of the
radio
station and bombs with the "can't open audio device" error.

My guess is that the device is not closed from the first cut somehow.
When
it tries to open it for the second "cut", it bombs with that error. It
may be
that the close is too slow and that the open for the second part comes
before
/dev/audio is closed. Sometimes I have been able to try again for the
second
part and get it to work, even after getting the error message.

If this seems to be a widespread problem, perhaps we could send a common
e-mail
to the realaudio folks about it. I have done this regarding problems
with the
realaudio encoder for FreeBSD. While they haven't fixed it yet(I think),
they have
responded several times, sometimes at their own instigation. That's
hopeful.

-Jim Durham



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32DAE0B2.41C67EA6>