summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uaudio.c
AgeCommit message (Expand)Author
2020-06-11When detaching uaudio, wait for device ref counter to drop to 0Alexandre Ratchov
2020-05-04Remove redundant code testing if a terminal is a usb stream.Alexandre Ratchov
2020-04-30If there's only one input (output) name it simply "input" ("output")Alexandre Ratchov
2020-04-30Use "inputs" class instead of "record"Alexandre Ratchov
2020-04-30Use "dac" instead of "play" in mixer control namesAlexandre Ratchov
2020-04-30Set terminal and clock names after all units are parsedAlexandre Ratchov
2020-04-30Use macros instead of hardcoded "play" and "record" string constantsAlexandre Ratchov
2020-04-24Skip "all-channels" controls if there are equivalend per-channel onesAlexandre Ratchov
2020-04-24Suffix per-channel non-numeric controls with channel numberAlexandre Ratchov
2020-03-23If samples per frame is larger than the device usb packet size,Alexander Bluhm
2020-03-23If an USB audio device supports less rates for recording than forAlexander Bluhm
2020-03-07Fix use of uninitilized variable in case of emty AC descriptor.Alexandre Ratchov
2020-02-28Allow devices with incomplete feature unit descriptor to attach.Alexandre Ratchov
2020-02-05Fix confusion between minimum and maximum samples-per-frame.Alexandre Ratchov
2019-09-05Use the new set_blksz() interface to set the block size.Alexandre Ratchov
2019-08-25avoid checking s->spf twice if it is above maximum in uaudio_adjspf(); ok rat...miko
2019-05-09When changing device rate, send request to the clock source unit.Alexandre Ratchov
2019-05-09Set the rate of UAC v2.0 clock units using the control interface, notAlexandre Ratchov
2019-05-09Skip empty control interfaces when parsing descriptors.Alexandre Ratchov
2019-05-01Use the proper UAC-v2.0 request to read the device controls.Alexandre Ratchov
2019-04-10Hide debug printfs.Alexandre Ratchov
2019-04-04Simplify underruns handling: just copy silence produced by upper layer.Alexandre Ratchov
2019-04-03Always copy data (if any) whenever a new bounce buffer is available.Alexandre Ratchov
2019-04-03Check for available space before copying data to the bounce buffers.Alexandre Ratchov
2019-04-03Make the uaudio_stream->ubuf_xfer relative to current xfer number.Alexandre Ratchov
2019-03-19In uaudio_pdata_intr() don't error out early if the status is USBD_IOERROR.Claudio Jeker
2019-03-12Add a new driver for USB Audio Class v2.0 devices. It replaces theAlexandre Ratchov
2018-08-31ich variable is only used in DPRINTF() and uaudio_get_cluster_nchan()miko
2018-08-08Fix possible division by zero caused by bogus usb descriptors. FromAlexandre Ratchov
2018-07-30Inline trivial uaudio_id_name(). From Michael Bombardieri, thanks.Alexandre Ratchov
2018-07-27No need to test if pointer is NULL to call free(9). FromAlexandre Ratchov
2018-07-07Fix uaudio(4) detection on Logitech Webcam C200/C210/C250/C270/C310/C500.Landry Breuil
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-05-03Remove unused (and wrong) uaudio_drain() call. From Michael W.Alexandre Ratchov
2017-04-08A pile of sizes to free(9). In test for a few days in snapshots.Theo de Raadt
2017-04-053 more mallocarray() usesTheo de Raadt
2017-02-10Fix links to usb-audio specs. From Michael Reed <m.reed at mykolab.com>.Alexandre Ratchov
2017-01-31Fix links to USB audio specs.Jeremie Courreges-Anglas
2017-01-03No need to set use_maxpkt twice. From Michael W. Bombardieri. Thanks.Alexandre Ratchov
2016-12-12Use DPRINTF instead of printf() in #ifdef UAUDIO_DEBUG section. FromAlexandre Ratchov
2016-12-05Remove unused variable. From Michael W. Bombardieri <mb@ii.net>. Thanks!Alexandre Ratchov
2016-11-16Use memcpy() to copy structures into freshly malloc'ated buffers,Alexandre Ratchov
2016-11-08Remove dead store. From Michael W. Bombardieri <mb at ii.net>. Thanks.Alexandre Ratchov
2016-10-27Uniformize debug printfs, by using consistently __func__ everywhere.Alexandre Ratchov
2016-09-23Add quirk to allow Yamaha UR22 to attach as uaudio(4). FromAlexandre Ratchov
2016-09-19Remove unused getdev() audio driver functions.Alexandre Ratchov
2016-09-14Remove drain(), query_encoding(), mappage() and get_default_params()Alexandre Ratchov
2015-11-27Attach the iPhone 6 as ugen(4), from Laurent GUALDI.Martin Pieuchot
2015-06-15Set the length of isochronous transfers as the sum of the frames lengths.Martin Pieuchot
2015-05-11Remove all audio format conversion code from the kernel (btw holdingAlexandre Ratchov