Subject: pkg/10420: the mixer applets from gnome-applets dosn't work
To: None <>
From: None <>
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
>Originator:     Jasper Wallace
>Release:        Jun 12st
--     : Another Great waste of bandwidth!      : nothing to do with me, but worth a look. : I pretend to work for these people.
2ECA0975     ::     45 52 65 E9 33 C7 72 4B  96 F4 44 2D 79 27 BF 08

Makefile:# $NetBSD: Makefile,v 1.2 2000/06/03 17:31:44 rh Exp $
patches/patch-aa:$NetBSD: patch-aa,v 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

	The mixer applets compiles without warning, but fails to do anything

	The gnome-applets ./configure script looks for the following header
files when determining which sound api to use:


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.

	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.

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