Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2000 11:10:40 +0100
From:      Roger Hardiman <roger@cs.strath.ac.uk>
To:        Bryan Collins <bryan@casper.spirit.net.au>, multimedia@freebsd.org
Subject:   Re: Remote FM Radio
Message-ID:  <38EDB420.177AD105@cs.strath.ac.uk>
References:  <200004070640.QAA73464@casper.spirit.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryan

> > Here is a quick test you can do with the 'net cat' port
> >
> > SERVER - listen on port 8000, getting data from /dev/audio
> > nc -l -p 8000 < /dev/audio
> >
> > CLIENT - connect to server.name on port 8000 and send data to /dev/audio
> > nc server.name 8000 > /dev/audio
> 
> That doesnt seem to do much, does a '< /dev/audio' assume input from
> line in or something different?

Reading from /dev/audio get audio at a rather low 8Khz rate
and mono too, from whatever the 'record' source is set to.
You can check that with 'mixer' or 'xmixer'


> Nothing can write to the audio device if nc is reading from it.

No, but nothing is writing to it in my 2 line example above.


 
> Anychance of a copy of your client/server?
Probably not :-(
I'd have to get permission to release it as it was
written here at work.


> I'm assuming if I had BT's in the servers
> I'd have to hack fxtv or some bt878 code to tune
> in the radio stations?

You can set the tuner on Bt878 cards with just 1 ioctl
command.
Take a look at the guts of programs like xmradio
for an example.
It tells you want to do somewhere on my
web site too.
www.telepresence.strath.ac.uk/bt848

somewhere there is an API document.


Roger


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38EDB420.177AD105>