History log of /haiku/src/add-ons/kernel/drivers/audio/usb/Device.cpp
Revision Date Author Comments
# 7f07b9f6 03-Feb-2024 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Disable for 2.0 devices.

It does not seem to work and causes high CPU usage.


# 005ba2b4 29-Jan-2024 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Do not use any timeout in _MultiBufferExchange.

The other multi-audio drivers do likewise.


# 177c832d 09-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

Add missing NULL checks to USB drivers.

Should fix #17276, #17846.


# 34352671 03-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Yet more code cleanup.

Slight logic tweaks but no real behavioral changes intended.


# 140c408d 03-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Correct mixup between Input terminals and Input streams.

An "Input" terminal in USB audio terms refers to any stream of audio
going "in" to the USB device, whether that be from the outside world
(e.g. a line in jack) or from the computer (e.g. via USB OUT endpoints.)

So we cannot rely on the terminal type to tell us whether it is an in
or an out for our purposes, we have to check the stream type, and then
use that to declare to multi_audio what kind of stream we have.

Fixes USB audio mixing up inputs and outputs, especially on devices
that only have one or the other and not both. (QEMU manifested
this problem.)


# 3f7da931 03-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Code cleanup.

No functional changes intended.


# d5aa7f00 14-Jul-2019 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Stop before reallocating buffers and add more error checks.

Also print strerror() for SetGlobalFormat.


# c5c39258 09-Mar-2019 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Fixes for SMAP.


# 3f853fd3 05-May-2018 Jérôme Duval <jerome.duval@gmail.com>

usb_audio: use user_memcpy to read/write the user buffers.

* also check buffer addresses passed through structures.
* fixes gcc5 and 64-bit warnings.
* only setup tested (lack of isochronous transfers).


# a69892ca 17-Aug-2013 Siarzhuk Zharski <zharik@gmx.li>

Rename driver folder 'usb_audio' to 'usb'

... just because the source path ./kernel/drivers/audio/usb obviously
references audio hardware so "_audio" suffix is excessive.

No functional changes.


# a69892cadca9288b901ac66273d342bfb4329373 17-Aug-2013 Siarzhuk Zharski <zharik@gmx.li>

Rename driver folder 'usb_audio' to 'usb'

... just because the source path ./kernel/drivers/audio/usb obviously
references audio hardware so "_audio" suffix is excessive.

No functional changes.