From owner-freebsd-ports Thu Oct 26 1:55:56 2000 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 82EAD37B4CF; Thu, 26 Oct 2000 01:55:50 -0700 (PDT) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.109]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id e9Q8vhD02803; Thu, 26 Oct 2000 11:57:44 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.0/8.9.3) with ESMTP id e9Q87Cp04768; Thu, 26 Oct 2000 11:07:12 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <39F7E62C.7D7ECFB6@FreeBSD.org> Date: Thu, 26 Oct 2000 11:07:08 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Carl Johan Madestrand Cc: ports@FreeBSD.org, ade@FreeBSD.org Subject: Re: Sound problems with GNOME References: <20001025202717.A268@214.norrgarden.se> <20001025203745.B268@214.norrgarden.se> Content-Type: multipart/mixed; boundary="------------C043A2A722CC06F88BEB0513" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------C043A2A722CC06F88BEB0513 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Carl Johan Madestrand wrote: > On Wed, Oct 25, 2000 at 08:27:17PM +0200, Carl Johan Madestrand wrote: > > Hi > > > > Im experiencing weird sound problems with a recent GNOME installation from > > a fresh ports tree. > > > > SESSION_MANAGER=local/214.norrgarden.se:/tmp/.ICE-unix/185 > > esd: Esound sound daemon already running or stale UNIX socket > > /home/cj/.esd/socket > > This socket already exists indicating esd is already running. > > Exiting... > > > > Seems to be related to esound, I didnt have any of these problems before. > > Any clues as to what could cause this? > > > > -- > > Carl Johan Madestrand > > LoRd_CJ on IRC > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-ports" in the body of the message > > > > Sorry, I should probably add to this that sound is not working at all after > I have started up X with GNOME+sawfish. > All I get is cant open /dev/dsp device busy. Yes, I also have this problem starting from gnomelibs-1.2.5. It seems that GNOME folks screwed something with sound support in 1.2.5. I studied diffs between 1.2.4 and 1.2.5 and produced a small patch that should fix the problem (I'm attaching it with this message). Ade, please review and commit this patch. -Maxim --------------C043A2A722CC06F88BEB0513 Content-Type: text/plain; charset=koi8-r; name="patch-bn" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-bn" --- libgnome/gnome-sound.c 2000/10/25 17:51:31 1.1 +++ libgnome/gnome-sound.c 2000/10/25 17:53:24 @@ -390,7 +390,7 @@ int size; int confirm = 0; - if (!use_sound ()) + if(gnome_sound_connection < 0) return -2; if(!filename || !*filename) @@ -459,7 +459,7 @@ char buf[23]; int sample; - if(!use_sound ()) + if(gnome_sound_connection < 0) return; srand(time(NULL)); --------------C043A2A722CC06F88BEB0513-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message