Subject: pkg/25301: audio/bmp: OSS output plugin does not work
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: pkgsrc-bugs
Date: 04/24/2004 17:16:17
>Number:         25301
>Category:       pkg
>Synopsis:       audio/bmp: OSS output plugin does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 24 08:18:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #15: Fri Apr 23 00:31:38 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	The audio/bmp can't adjust output audio format with OSS output plugin.
	Because it fails to execute ioctl(2).

** (beep-media-player:23107): WARNING **: SNDCTL_DSP_SETFMT ioctl failed: Invalid argument

** (beep-media-player:23107): WARNING **: SNDCTL_DSP_SPEED ioctl failed: Invalid argument

	It has a souncard.h in Output/OSS. It seems that it does not work on
	the NetBSD.

>How-To-Repeat:
	cd ${PKGSRCDIR}/audio/bmp
	make && make install
	beep-media-player
	(play music with OSS output plugin)

>Fix:
	on the NetBSD, use /usr/include/sys/soundcard.h instead of
	bmp-0.9.6.1/Output/OSS/soundcard.h?
>Release-Note:
>Audit-Trail:
>Unformatted: