Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 19:45:58 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        Joshua Tinnin <jtinnin@pacbell.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: SKYPE Sound Problems
Message-ID:  <200412171946.05130.michaelnottebrock@gmx.net>
In-Reply-To: <200412171000.18151.jtinnin@pacbell.net>
References:  <200411211341.10072.dantavious@comcast.net> <200412171826.56313.michaelnottebrock@gmx.net> <200412171000.18151.jtinnin@pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1119121.tIDxEBlNC5
Content-Type: multipart/mixed;
  boundary="Boundary-01=_plywByIEgrtbfex"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_plywByIEgrtbfex
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday, 17. December 2004 19:00, Joshua Tinnin wrote:

> OK, thanks. I remember reading that, but I wasn't sure how to enable it
> using a system file. Until now, I'd been doing killall artsd to use
> esound apps.

With arts, you also have the option of enabling the auto-suspend timeout (K=
DE=20
Control Center / Sound & Multimedia / Sound System) and setting it as low 1=
=20
second (note that 0 seconds is equal to auto-suspend off).

Artsd will then release the device if it's been idle for that period of tim=
e.=20
This is usually sufficient unless you want to play sound in arts and non-ar=
ts=20
apps at the same time.

You can also use artsdsp to make esd itself an arts client. On recent FreeB=
SD=20
5.x/6.x however, this requires some hacking of the artsdsp script (the=20
threads library must be LD_PRELOADed as well, see attached patch. Replace=20
with libc_r.so.5 on 5.2.1-R and earlier, not tested).

With that modification, run artsdsp esd and test some app that uses esound=
=20
(like xmms with the esound output plugin enabled). fstat /dev/dsp* should=20
only show artsdsp.

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--Boundary-01=_plywByIEgrtbfex
Content-Type: text/plain;
  charset="iso-8859-1";
  name="artsdsp.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="artsdsp.diff"

--- /usr/local/bin/artsdsp.orig	Fri Dec 17 19:35:29 2004
+++ /usr/local/bin/artsdsp	Fri Dec 17 19:35:46 2004
@@ -97,7 +97,7 @@
 if test "$single_thread" = 1; then
   LD_PRELOAD=${libdir}/libartsdsp_st.so.0
 else
-  LD_PRELOAD=${libdir}/libartsdsp.so.0:${libdir}/libartsc.so.0
+  LD_PRELOAD=/usr/lib/libpthread.so.1:${libdir}/libartsdsp.so.0:${libdir}/libartsc.so.0
 fi
 if test -f /lib/libdl.so.2; then
   LD_PRELOAD=$LD_PRELOAD:/lib/libdl.so.2

--Boundary-01=_plywByIEgrtbfex--

--nextPart1119121.tIDxEBlNC5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBwyltXhc68WspdLARAupcAJ9RvxYNqBi4q06vOJspg22qR2DimACfXk/Z
FFtysHKDinhi8dYBLBYc2XM=
=sd7T
-----END PGP SIGNATURE-----

--nextPart1119121.tIDxEBlNC5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412171946.05130.michaelnottebrock>