Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2000 14:37:03 -0500
From:      "Andrew Xiang" <axiang@basystems.com>
To:        <ade@FreeBSD.org>
Cc:        <ports@FreeBSD.org>
Subject:   FreeBSD Port: gnomelibs-1.2.8
Message-ID:  <MKELIBFCNCEMMIEMEBIHOEAECDAA.axiang@basystems.com>

next in thread | raw e-mail | index | archive | help

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--

Andrew Xiang
ADC Telecommunications
508-898-8826 (work)
508-982-3080 (cell)



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?MKELIBFCNCEMMIEMEBIHOEAECDAA.axiang>