From owner-freebsd-questions@FreeBSD.ORG Fri Dec 22 22:09:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A88916A40F for ; Fri, 22 Dec 2006 22:09:42 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 623BB13C455 for ; Fri, 22 Dec 2006 22:09:42 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBMM9fRW024170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Dec 2006 14:09:42 -0800 X-Auth-Received: from [128.208.4.96] (dzihan.cs.washington.edu [128.208.4.96]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBMM9fl7012229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 22 Dec 2006 14:09:41 -0800 Message-ID: <458C57A5.2050402@u.washington.edu> Date: Fri, 22 Dec 2006 14:09:41 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (X11/20061108) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45899E9F.6040803@passagen.se> <64085.71.210.233.122.1166764637.squirrel@intranet.cs.nmsu.edu> <14989d6e0612220101t46b76896v792ddba40583b749@mail.gmail.com> <458C0D78.6020209@freemail.hu> In-Reply-To: <458C0D78.6020209@freemail.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.22.135433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: X server remote login and sound X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 22:09:42 -0000 Nagy László Zsolt wrote: > Christian Walther wrote: >> I'm not sure if sending uncompressed audio data over the network is >> such a good idea. > Are you sure that esd does not compress the data? > > By the way, esd can be used with any audio application. It can emulate > a real soundcard. Example follows. > > > On the server (where your real sound card is located): > > esd -promiscuous -tcp -pubic -port 1500 > > On the client: > > esddsp -v -s 192.168.0.13:1500 mpg123 something.mp3 > > > The mpg123 program does not need to have ESD support. The esddsp > program creates a fake pcm device before starting mpg123. > > Best, > > Laszlo Why not just use the -C flag with ssh and port forward the port using ssh as well (-L ...)? The only problem would be with sharing the soundcard/port, since I'm not sure if only one user can connect and use esd at one time. However, this can be setup per-user given a little foreknowledge and planning. -Garrett