summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uaudio.c
AgeCommit message (Expand)Author
2024-07-23uaudio: Fix confusion between interface numbers and interface indexesAlexandre Ratchov
2023-12-10Skip interfaces already claimed by other uaudio(4) instances.Alexandre Ratchov
2023-06-27Return error if the USB request to get the sample rate fails.Alexandre Ratchov
2022-10-26Make audio(9) get_props() optional, remove it from duplex driversKlemens Nanni
2022-10-19Use C99 struct init for struct audio_hw_ifKlemens Nanni
2022-10-19Constify global tables only used in lookups, OK ratchovKlemens Nanni
2022-03-21Constify struct {audio,midi,radio,video}_hw_if. No functional change.Miod Vallat
2022-02-21ambigus -> ambiguousJonathan Gray
2022-02-16Currently, wskbd_set_mixervolume() only adjusts the volume of the firstAnton Lindqvist
2022-02-16Make room for a cookie argument passed to audio_attach_mi(). CurrentlyAnton Lindqvist
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2022-01-09spellingJonathan Gray
2021-12-31spellingJonathan Gray
2021-11-22Align memory allocation for USB device drivers and USB HC drivers:Marcus Glocker
2021-05-18Add pre-DMA-write barrier after data is stored to memoryAlexandre Ratchov
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