From owner-freebsd-multimedia Sat Dec 16 6:55:40 2000 From owner-freebsd-multimedia@FreeBSD.ORG Sat Dec 16 06:55:37 2000 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id D7E9637B400 for ; Sat, 16 Dec 2000 06:55:33 -0800 (PST) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.20 #2) id 147IkC-0004Ru-00; Sat, 16 Dec 2000 15:55:28 +0100 Received: from a321c.pppool.de ([213.6.50.28] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.20 #2) id 147Ik8-00019N-00; Sat, 16 Dec 2000 15:55:25 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.1/8.11.1) with ESMTP id eBGD2iC05144; Sat, 16 Dec 2000 14:02:45 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200012161302.eBGD2iC05144@Magelan.Leidinger.net> Date: Sat, 16 Dec 2000 14:02:42 +0100 (CET) From: Alexander Leidinger Subject: Re: gnome-session, /dev/dsp busy, soundserver? To: utz@serv.net Cc: kuku@gilberto.physik.rwth-aachen.de, multimedia@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: netchild@leidinger.net Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 15 Dec, The Utz Family wrote: >> ..... >> gnome-session wants to play some snartch, click, boing audio samples >> when certain events occur. >> >> Now my question to make a long story short: >> >> How can different applications share the sound device (/dev/dsp)? >> I believe the answer is 'soundserver'. Is there such under FreeBSD? > > bad news, gnome-session is using esound ( from enlightenment ) as the > gatekeeper to /dev/dsp. that's why /dev/dsp appears busy to the apps that > call /dev/dsp - which is *most* of them because calling the devices has > been the approved way to do hardware type stuff in unix since time > immemorial. Kill esd after starting your session withhin X. If something needs esd, it will be started and will release /dev/dsp after some idle time. This was the default for the initial start of esd some time ago, but it changed. > so, you either use gnome/esound, and port all of the existing /dev/dsp > code to use esound, or you dont use gnome/esound and you get to still use > /dev/dsp. but then the esound stuff like sweep doesnt work because it has > no ui or device connection :-( Sweep didn't uses esound. And I didn't know why it needs GNOME: ---snip--- (17) netchild@ttyp0 % ldd `which sweep` /usr/X11R6/bin/sweep: libgtk12.so.2 => /usr/X11R6/lib/libgtk12.so.2 (0x2807b000) libgdk12.so.2 => /usr/X11R6/lib/libgdk12.so.2 (0x281a2000) libgmodule12.so.3 => /usr/local/lib/libgmodule12.so.3 (0x281d4000) libgthread12.so.3 => /usr/local/lib/libgthread12.so.3 (0x281d7000) libglib12.so.3 => /usr/local/lib/libglib12.so.3 (0x281da000) libintl.so.1 => /usr/local/lib/libintl.so.1 (0x281fd000) libxpg4.so.3 => /usr/lib/libxpg4.so.3 (0x28202000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28204000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28210000) libm.so.2 => /usr/lib/libm.so.2 (0x282c7000) libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x282e3000) libc_r.so.4 => /usr/lib/libc_r.so.4 (0x282f5000) libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x283b1000) ---snip--- Bye, Alexander. -- Intel: where Quality is job number 0.9998782345! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message