summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/usb/uaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Add code from Kazuhito HONDA that allows the user to seejulian2005-04-271-0/+153
| | | | | | | | | | the available modes in /dev/sndstat. e.g. pcm1: <USB Audio> at addr ? (0p/1r/0v channels duplex) mode 1:(input) 1ch, 16/16bit, pcm, 44100Hz mode 2:(input) 1ch, 16/16bit, pcm, 22050Hz mode 3:(input) 1ch, 16/16bit, pcm, 11025Hz mode 4:(input) 1ch, 16/16bit, pcm, 8000Hz
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Allow selection of a recording source on USB audio devices.julian2004-12-251-7/+85
| | | | | | | PR: 75316 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD plus changes MFC after: 2 weeks
* Allow recording on at least some USB audio devices.julian2004-12-251-2/+66
| | | | | | | PR: 75311 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD plus changes MFC after: 2 weeks
* Allow volume control on more channels/inputsjulian2004-12-251-18/+129
| | | | | | | PR: 75276 Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp> Obtained from: NetBSD with changes MFC after: 2 weeks
* MFNetBSD:julian2004-12-251-708/+1723
| | | | | | | | | | One of a set of patches submitted by Kazuhito HONDA to make the usb audio driver a lot more capable. PR: 75274 Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot jp) Obtained from: NetBSD (indirectly) MFC after: 2 weeks
* Don't include vnode.hphk2004-12-221-1/+0
|
* Fixed editing errors in rev.1.4 which manifested as printf format errorsbde2002-08-251-2/+2
| | | | at compile time and probably as panics at runtime.
* Use the hw.usb sysctl tree instead of debug.usb.joe2002-08-081-1/+2
| | | | Requested by: imp
* Replace the FOO_DEBUG definitions with USB_DEBUG, and switch thejoe2002-07-311-13/+13
| | | | | | debugging levels to off by default. Now that debug levels can be tweaked by sysctl we don't need to go through hoops to get the different usb parts to produce debug data.
* Make this compile with the debugging options switched on.joe2002-07-311-0/+7
|
* Get bored with hard coded debug level variables and introduce a debug.usbjoe2002-07-311-0/+3
| | | | | | sysctl tree for tweaking them real-time. Reviewed by: iedowse
* Make this compile.peter2002-07-221-0/+8
| | | | uaudio.c:1822: warning: `uaudio_ctl_get' defined but not used
* Add uaudio -- a USB audio device driver.nsayer2002-07-211-0/+2912
This driver actually works slightly better on -stable than on -current (the system locks on detach on -current), so it should be MFC'd somewhat sooner. This driver currently points out a difficulty in the sound device framework. The PCM unregister routine is allowed to refuse the detach if the device is in use. In the case of a USB device, however, this unregistration is much more mandatory in nature, since the device is *actually* gone when this call is made. The sound subsystem really should not refuse an unregistration and should take its own steps to reject further I/O. As a result, if you detach a USB sound device while it is in use, you can expect a panic shortly thereafter. This device cannot currently record audio. Some routines are unwritten as of yet in uaudio.c to support recording. This device hangs my -current box on detach. I don't know why. This does not happen on my -stable machine. Obtained from: Hiroyuki Aizu MFC after: 2 weeks
OpenPOWER on IntegriCloud