From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 12 17:59:17 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D06B16A468 for ; Tue, 12 Jun 2007 17:59:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id EDE8B13C448 for ; Tue, 12 Jun 2007 17:59:16 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FCE1.dip.t-dialin.net [84.165.252.225]) by redbull.bpaserver.net (Postfix) with ESMTP id 3FB6F2E165; Tue, 12 Jun 2007 19:59:09 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 9EDE75B4926; Tue, 12 Jun 2007 19:58:51 +0200 (CEST) Date: Tue, 12 Jun 2007 19:59:26 +0200 From: Alexander Leidinger To: "Michael Collette" Message-ID: <20070612195926.16717a44@deskjail> In-Reply-To: References: <20070606090225.6cuky5jlcs04oosg@webmail.leidinger.net> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=2.601, required 8, BAYES_50 2.50, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-SpamScore: ss X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-multimedia@freebsd.org Subject: Re: flash sound through esound X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 17:59:17 -0000 Quoting "Michael Collette" (Tue, 12 Jun 2007 07:30:45 -0700): > For the record, just installing the linux esound does not just make it > work. Here are some of the steps that do get it to work though. > > The flash player looks for a couple of things for sound support. One > is /tmp/.esd/socket. This must be created on the X server. > > mkdir /tmp/.esd > touch /tmp/.esd/socket The esd should create this on its own. You should investigate why it doesn't. > The other thing flash is looking for is libesd.so.1. The linux-esound > library also looks for libesd.so.0. This must be created on the X > server as well. > > cd /usr/local/lib > ln -s libesd.so.2 libesd.so.0 > ln -s libesddsp.so.2 libesddsp.so.0 > ln -s libesd.so.2 libesd.so.1 > ln -s libesddsp.so.2 libesddsp.so.0 Creating such links for the linux part in the FreeBSD path is wrong. Be prepared to shoot in your foot in the future if you keep them. > cd /compat/linux/usr/lib > ln -s libesd.so.0.2.36 libesd.so.1 > ln -s libesd.so.0.2.36 libesd.so.2 > ln -s libesddsp.so.0.2.36 libesddsp.so.1 > ln -s libesddsp.so.0.2.36 libesddsp.so.2 Creating links for different lib versions brings you into trouble. You need to find a linux esound which provides the right libs (in this case libesd.so.1, as you want to run flash which depends upon it). > After all that, linux-firefox properly recognizes the ESPEAKER > environment variable, and sound is directed through it automatically. > > Perhaps either the flash7 or esound ports need to check for these > links and create them as needed upon installation? It'd just be nice > to have it work out of the box so to speak. No, the right fix is different from what you suggest, see above. Bye, Alexander. > On 6/6/07, Alexander Leidinger wrote: > > Quoting Michael Collette (from Tue, 5 Jun 2007 > > 09:04:51 -0700): > > > > > I ran across a thread talking about this a little while back, but > > > there was a lack of details as to how it was done. > > > > > > I'm running linux-firefox with the flash7 port on a remote X terminal. > > > That part is working quite nicely. I'm finding that my best bet for > > > network audio at this point is esound. Seems to be the widest > > > supported daemon. I'm trying to route the flash audio through it. > > > > > > How do I get linux flash7 to route it's audio to esound properly? > > > > You have to install the linux version of esd and run linux-firefox > > within the linux version of esddsp (or how it is called). This may > > result in the behavior you want. > > > > Bye, > > Alexander. > > > > -- > > Serving coffee on aircraft causes turbulence. > > > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 > > > > -- King Arthur ran the first knight club. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137