Date: Tue, 12 Jun 2007 19:59:26 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: "Michael Collette" <metrol.net@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: flash sound through esound Message-ID: <20070612195926.16717a44@deskjail> In-Reply-To: <c4c523130706120730j18cefe78w933d7a365592921a@mail.gmail.com> References: <c4c523130706050904r53af67b6pebb383978bd5aee5@mail.gmail.com> <20070606090225.6cuky5jlcs04oosg@webmail.leidinger.net> <c4c523130706120730j18cefe78w933d7a365592921a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Michael Collette" <metrol.net@gmail.com> (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 <Alexander@leidinger.net> wrote: > > Quoting Michael Collette <metrol.net@gmail.com> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070612195926.16717a44>