Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/04/2001 08:20:50
Module Name: syssrc
Committed By: mycroft
Date: Thu Jan 4 06:20:50 UTC 2001
Modified Files:
syssrc/sys/dev/usb: uaudio.c
Log Message:
Several things:
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.
XXXXXXXX
This is a big f*cking hack. Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 syssrc/sys/dev/usb/uaudio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.