Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-03 | don't take playback blocksize constraints into account when rounding | Jacob Meuser | |
blocksizes if the device doesn't support playback. | |||
2009-11-03 | don't claim to support full-duplex if the device doesn't support both | Jacob Meuser | |
recording and playback | |||
2009-11-03 | provide a get_default_params method. tries aucat(1) defaults first | Jacob Meuser | |
but returns the closest parameters the device supports. ok rathcov | |||
2009-11-03 | rewrite supported audio parameter matching code | Jacob Meuser | |
- easier to read/follow - if can't match desired parameters exactly, find closest match instead of returning an error. this is how most other audio drivers work. ok ratchov | |||
2009-10-17 | remove bogus quirk. these devices do not lie about their type, but | Jacob Meuser | |
they do have bSynchAddress set to 0 in their endpoint descriptor. uaudio(4) used to not handle that correctly, but now does. positive response from krw, deraadt, ratchov | |||
2009-10-15 | If the bSynchAddress of the AudioStreaming isochronous audio data | Jacob Meuser | |
endpoint descriptor is set to 0, it means that a synchronization pipe is not needed. | |||
2009-10-13 | Get rid of devact enum, substitute it with an int and coresponding defines. | Paul Irofti | |
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@. | |||
2008-11-21 | cast d->bmaControls to uByte * in uaudio_add_feature() | Robert Nagy | |
ok jakemsr@ | |||
2008-11-12 | fix typo in debug printf; ok ratchov@ | Stuart Henderson | |
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-06-17 | if reading (or writing) is not supported, but the device is opened | Jacob Meuser | |
for reading (or writing), return ENXIO (Device not configured) instead of EACCES (Permission denied). ok ratchov | |||
2008-04-21 | allow low level audio drivers to specify a default sample format, | Jacob Meuser | |
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@ | |||
2007-12-02 | spelling fix in debug printf | Robert Nagy | |
2007-11-05 | audio encoding conversion cleanup | Jacob Meuser | |
- the endianness of the conversions don't depend on the endianness of machine the conversions are built on, but the endianness of the audio data itself. choose encoding conversions explicitly, instead of relying on #defines based on the endianness of the machine. - replace home-grown conversions with comparable conversions in auconv.c and mulaw.c - use the proper conversion for ulinear_be:16 -> slinear_le:16 in auixp(4) thanks ajacoutot@ and sthen@ for !x86 testing | |||
2007-10-11 | treat usb vendor/product names as a locator, and have usbd_print handle it, | Theo de Raadt | |
so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis | |||
2007-09-28 | no longer used macros | Jacob Meuser | |
spotted by brad ok ratchov | |||
2007-09-25 | fix emulated encodings | Alexandre Ratchov | |
ok jakemsr@ | |||
2007-09-11 | KNF | Gilles Chehade | |
prompted and "much better" by marco@, ok pyr@ | |||
2007-09-09 | more M_ZERO conversions; ok krw@. | Federico G. Schwindt | |
2007-09-08 | fix uaudio(4) devices using signed mixer controls | Alexandre Ratchov | |
ok jakemsr@, tested by jolan@ with 3 different devices | |||
2007-06-14 | Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and | Marc Balmer | |
USB_DECLARE_DRIVER macros. No binary change. ok dlg. | |||
2007-06-13 | Remove the defintion and use of some byteswap macros. | Marc Balmer | |
No binary change. ok dlg. | |||
2007-06-13 | Apply some KNF after the recent removal of macros and type definitions. | Marc Balmer | |
No binary change. ok ray. | |||
2007-06-12 | Remove the definition and use of the device_ptr_t which was a struct device *. | Marc Balmer | |
No binary change. ok mk. | |||
2007-06-10 | Remove the definition and use of the USBDEVNAME macro. | Marc Balmer | |
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg. | |||
2007-06-10 | Remove the definition and use of the USBDEV macro. It only created confusion | Marc Balmer | |
and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg. | |||
2007-06-06 | Mechanical removal of USBBASEDEVICE. No binary change. | Michael Knudsen | |
Tested by thib and myself. ok mbalmer jsg | |||
2007-06-05 | Remove the "Static" declaration of many functions. It was defined to be empty | Marc Balmer | |
and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg. | |||
2007-06-04 | Last part of FreeBSD/NetBSD sepcific code removal. | Marc Balmer | |
ok jsg@ | |||
2007-05-27 | Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed. | Jonathan Gray | |
ok deraadt@ krw@ mbalmer@ | |||
2007-05-21 | Remove logprintf macro | Jonathan Gray | |
2006-06-23 | In a drivers activate() entry point, if on DVACT_DEACTIVATE it does | Miod Vallat | |
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP; this very popular bug has been cut and pasted a lot of times... ok deraadt@ mickey@ | |||
2006-05-04 | free resources on close; found by Alexandre Ratchov <alex@caoua.org> | Michael Shalayeff | |
2006-04-21 | remove a couple of unreachable statements, one found by lint, one found | Jolan Luff | |
by my eyes | |||
2006-01-06 | from kent@netbsd.org: | Federico G. Schwindt | |
Call uaudio_set_speed() if and only if the selected Audio Streaming interface supports multiple sampling rates. fixed netbsd pr 27237. | |||
2006-01-06 | from kent@netbsd.org: | Federico G. Schwindt | |
assign AudioNlfe to UATO_SUBWOOFER assign "phone" to telephony terimnal types. The label "phone" is used in ac97 though it is not defined as AudioN* macro. dlg@ ok. | |||
2006-01-02 | mostly style nits; from kent@netbsd.org. | Federico G. Schwindt | |
some other cosmetical changes to make future merges easier. dlg@ ok. | |||
2006-01-02 | fix some typos and add open/close code of sync pipe, disabled for now. | Federico G. Schwindt | |
from kent@netbsd.org. dlg@ ok. | |||
2006-01-02 | make mixer names compatible with other audio devices. from kent@netbsd.org | Federico G. Schwindt | |
via netbsd pr 15441 by Kazuhito Honda. dlg@ ok this and previous diffs. | |||
2006-01-02 | recognize sync-pipe audio stream; disabled for now. from kent@netbsd.org | Federico G. Schwindt | |
2006-01-02 | add source selector support. netbsd pr 26538. | Federico G. Schwindt | |
2006-01-02 | knf. add some debug and use const. | Federico G. Schwindt | |
2006-01-01 | correct a typo and reorder check. | Federico G. Schwindt | |
2006-01-01 | Rearrange to fix a potential crash when changing parameters with audioctl | Federico G. Schwindt | |
and the device is closed. netbsd pr 24066. Some cleanup and also correctly set the mode via audioctl. from mycroft. | |||
2006-01-01 | Fix mixer wraparound. from netbsd pr 16652. | Federico G. Schwindt | |
2005-11-21 | Move contents of sys/select.h to sys/selinfo.h in preparation for a | Todd C. Miller | |
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@. | |||
2005-08-01 | Don't keep the devinfo string on the stack, instead use malloc/free. | Brad Smith | |
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@ | |||
2004-10-18 | reduce linecount in dmesg | Theo de Raadt | |
2004-08-30 | Remove 'usb_'realloc() usage because it doesn't know the size of the old | Dale Rahn | |
buffer, thus may copy too much, causing a memory fault. ok millert, dlg, henning, tdeval, otto | |||
2004-07-08 | put "do { } while (0)" wrappers on all the debug maroc functions | Theo de Raadt | |