Subject: pkg/19332: The amp mp3 player fails if /dev/audio cannot be read
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 12/09/2002 07:27:34
>Synopsis: The amp mp3 player fails if /dev/audio cannot be read
>Arrival-Date: Mon Dec 09 04:28:01 PST 2002
>Originator: Ben Wong
>Release: NetBSD 1.6
Georgia Institute of Technology
System: NetBSD hrududu.wongs.net 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 email@example.com:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
The amp mp3 player fails if /dev/audio cannot be read although it
never actually reads any data (it only writes). This can cause amp to
unnecessarily break when used with a NetBSD sound driver (such as
emuxki(4)) which does not yet support recording.
Install amp on a machine with a SoundBlaster Live 5.1 (or similar).
It will fail claiming that it cannot open the audio device.
Simply change the open() in audioIO_SunOS.c to use O_WRONLY instead of
Note that patch-ac already changes audioIO_SunOS.c, so you'll have to
edit that as well.
To save you the trouble of making this patch, you may download an
entire updated package for amp from: