Messages per Month
|Subject:||Re: gnome-session, /dev/dsp busy, soundserver?|
|From:||Alexander Leidinger (Alex...@Leidinger.net)|
|Date:||Dec 16, 2000 5:02:20 am|
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---
-- 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 majo...@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message