[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gnome-panel: mixer_applet does nothing to PowerMac internal speaker

Package: gnome-panel
Version: 1.0.55-1
Severity: normal

The volume slider and mute in mixer_applet do nothing to the internal
speaker on PowerMac (at least, on my 4400 clone).  Gmix's Vol controls
also does nothing.  But Gmix's Spkr control controls volume and mute
just fine.

The attached patch solves this problem by using the slider and mute to
control both volume and speaker.  Is this suitable for inclusion in
Debian, or upstream?

I suppose the long-term solution is to have this configurable in a
preferences dialog, but for now this makes PowerMac happy and shouldn't
upset anyone else.

-Adam P.

-- System Information

Debian Release: 2.2

Kernel Version: Linux ebedmelech 2.2.15pre19-atydbg #1 Wed Apr 19
08:19:13 EDT 2000 ppc unknown

Versions of the packages gnome-panel depends on:
ii  gdk-imlib1     1.9.8-4        Gdk-Imlib is an imaging library for
use with
ii  gnome-core     1.0.55-1       Common files for Gnome core apps
ii  gnome-panel-da 1.0.55-1       Data files for GNOME panel
ii  libart2        1.0.56-3       The Gnome canvas widget
ii  libaudiofile0  0.1.9-0.1      The Audiofile Library
ii  libc6          2.1.3-8        GNU C Library: Shared libraries and
ii  libesd0        0.2.17-7       Enlightened Sound Daemon - Shared
ii  libglib1.2     1.2.7-2        The GLib library of C routines
ii  libgnome32     1.0.56-3       The Gnome libraries
ii  libgnomesuppor 1.0.56-3       The Gnome libraries (Support
ii  libgnomeui32   1.0.56-3       The Gnome libraries (User Interface)
ii  libgnorba27    1.0.56-3       Gnome CORBA services
ii  libgtk1.2      1.2.7-1        The GIMP Toolkit set of widgets for X
ii  liborbit0      0.5.0-5        Libraries for ORBit - a CORBA ORB
ii  libpanel-apple 1.0.55-1       Library for Gnome Panel applets
ii  xlib6g         3.3.6-6        shared libraries required by X clients

ii  zlib1g         1.1.3-5        compression library - runtime
        ^^^ (Provides virtual package libz1)

[I'll send the above as a bug report if others think it makes nense, or
don't reply. :-]

--- applets/mixer/mixer.c.bak	Wed Apr 26 18:45:20 2000
+++ applets/mixer/mixer.c	Wed Apr 26 18:47:25 2000
@@ -133,6 +133,7 @@
 	tvol = (vol << 8) + vol;
 /*g_message("Saving mixer value of %d",tvol);*/
 	ioctl(mixerfd, MIXER_WRITE(SOUND_MIXER_VOLUME), &tvol);
+	ioctl(mixerfd, MIXER_WRITE(SOUND_MIXER_SPEAKER), &tvol);
 static void

Reply to: