Subject: kern/2844: Bug setting audio playback rate
To: None <>
From: Monty <>
List: netbsd-bugs
Date: 10/14/1996 13:29:32
>Number:         2844
>Category:       kern
>Synopsis:       bug setting audio sample rate for playback
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 14 10:35:01 1996
>Originator:     Monty
the Xiphophorus company
>Release:        1.1
System: NetBSD limekiller 1.1B NetBSD 1.1B (LIMEKILLER) #13: Sat May 11 17:43:31 EDT 1996 ghudson@zygorthian-space-raiders:/afs/ i386

	Exact occurrence; Limekiller has a SoundBlaster 8 that supports only
	8 bit PCM at up to 22050Hz.  Other aspects of the hardware
	behave as expected through ioctls (eg, an ioctl call to set stereo 
	fails), however ioctl calls to set impossible playback rates succeed,
	making it difficult for applications to accurately determine hardware
	capability.  A application that tries to use a bad playback rate
 	that it believes it has properly set results in write() hanging.

	set playback sample rate on a system with sound hardware incapable
	of the rate (ie, 44100Hz on a SB8), then write to the device