From owner-freebsd-multimedia Fri Apr 7 3:11: 4 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 53B8437B7F4 for ; Fri, 7 Apr 2000 03:11:01 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (posh.dmem.strath.ac.uk [130.159.202.3]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id LAA25567 Fri, 7 Apr 2000 11:10:53 +0100 (BST) Message-ID: <38EDB420.177AD105@cs.strath.ac.uk> Date: Fri, 07 Apr 2000 11:10:40 +0100 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Bryan Collins , multimedia@freebsd.org Subject: Re: Remote FM Radio References: <200004070640.QAA73464@casper.spirit.net.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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