Subject: pkg/10420: the mixer applets from gnome-applets dosn't work
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jasper@pointless.net>
List: netbsd-bugs
Date: 06/22/2000 16:43:10
>Number: 10420
>Category: pkg
>Synopsis: the mixer applet tries to use the wrong (?) protocol.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 22 16:44:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Jasper Wallace
>Release: Jun 12st
>Organization:
--
http://pointless.net/ : Another Great waste of bandwidth!
http://advogato.com/ : nothing to do with me, but worth a look.
http://www.ivision.co.uk/ : I pretend to work for these people.
2ECA0975 :: 45 52 65 E9 33 C7 72 4B 96 F4 44 2D 79 27 BF 08
>Environment:
Makefile:# $NetBSD: Makefile,v 1.2 2000/06/03 17:31:44 rh Exp $
patches/patch-aa:$NetBSD: patch-aa,v 1.1.1.1 2000/06/02 13:08:31 drochner Exp $
System: NetBSD jellycat 1.4ZD NetBSD 1.4ZD (JELLYCAT.pnpbios) #2: Tue Jun 20 18:31:08 BST 2000 jasper@jellycat:/usr/src/sys/arch/i386/compile/JELLYCAT.pnpbios i386
>Description:
The mixer applets compiles without warning, but fails to do anything
usefull.
The gnome-applets ./configure script looks for the following header
files when determining which sound api to use:
linux/soundcard.h
machine/soundcard.h
sys/soundcard.h
sys/audioio.h
sys/audio.io.h
sun/audioio.h
Since NetBSD's soundcard.h is in /usr/include/ the configure script dosn't
find it, and finds sys/audioio.h, which the mixer applet beleives is sun
compatible. It dosn't appear to be tho, as the applet does nothing usefull.
>How-To-Repeat:
cd /usr/pkgsrc/x11/gnome-applets ; make install
run the gnome panel, and add the mixer applet, then play a cd or
any other action that uses your computers audio hardware and try to control
the volume or mute the sound using the mixer applet, note that the sound
remains at the same volume.
>Fix:
I worked around this by symlinking soundcard.h to
/usr/include/sys/soundcard.h, and re-making gnome-applets so it uses the OSS
api rather then the audioio one. The applet now works fine.
If NetBSD's audio API is ment to be sun compatable (i don't know if it is,
but it looks similar) i'll write a patch to the mixer-applet. (i.e. if someone
gets back to me about it).
>Release-Note:
>Audit-Trail:
>Unformatted: