From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 20:27:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 404E016A4CE for ; Fri, 27 Feb 2004 20:27:31 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 779E843D1D for ; Fri, 27 Feb 2004 20:27:28 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [218.85.100.105]) by mail27.cn4e.com (WorldPost) with ESMTP id 4F15C9E8F907; Sat, 28 Feb 2004 12:49:54 +0800 (CST) Message-ID: <40401880.2060204@realss.com> Date: Sat, 28 Feb 2004 12:26:40 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040227 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Dan Nelson References: <20040228035350.GD3471@dan.emsphone.com> In-Reply-To: <20040228035350.GD3471@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: a good solution share the speaker? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 04:27:31 -0000 Dan Nelson wrote: >In the last episode (Feb 28), Zhang Weiwu said: > > >>Several people are using notebooks in the office, the big desktop >>computer stores music. A good speaker is pluged into the desktop >>computer (FreeBSD). >> >>What do you think is the best solution to share the speaker? >> >>These are what I can think of: >>* Marc Lehmann wrote a perl module for playing music with mpg123. Write a >>cgi script and let people select playlist/control play on the webpage. >>* Find a existing good mpg123 frontend, modify it, let it control the >>mpg123 on another computer through ssh or even let inetd bring up the >>mpg123 player and let the fontend talk to a socket. >> >> > >http://www-scf.usc.edu/~bozhang/notes/esd.html describes how to use >esound (which the mpg123 port is built with) to send audio to a remote >machine. You could also use xmms, since it has esd support too. I > > That's a good idea. I am worrying that uncompressed sound takes lots of bandwidth, some people in the office are using (average) 500Kbps bluetooth link, uncompressed CD audio is 16*2*44100=1400Kbps, can esound manipulate it?