Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 11:07:08 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Carl Johan Madestrand <cj@vallcom.net>
Cc:        ports@FreeBSD.org, ade@FreeBSD.org
Subject:   Re: Sound problems with GNOME
Message-ID:  <39F7E62C.7D7ECFB6@FreeBSD.org>
References:  <20001025202717.A268@214.norrgarden.se> <20001025203745.B268@214.norrgarden.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cj@vallcom.net>
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F7E62C.7D7ECFB6>