History log of /haiku/src/add-ons/kernel/drivers/audio/usb/Stream.h
Revision Date Author Comments
# b785b0cf 31-Jan-2024 Augustin Cavalier <waddlesplash@gmail.com>

usb_audio: Report callback errors to syslog.

That way they don't just get lost.


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

usb_audio: Set real_time from the time during device buffers exchange.

As opposed to driver/userland buffers exchange. This is what the other
multi_audio drivers do.


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

usb_audio: Clean up buffer management.

* Get rid of fPacketSize and use fSamplesCount in GetBuffers instead.

* Clarify logic in _TransferCallback.

* Properly multiply in kSamplesBufferCount to fAreaSize
(this should be the only functional change in here.)

The larger buffers (now similarly sized to HDA at least in the
default cases of 44100 or 48000) seem to help with jittering
and discontinuities, which are significantly reduced now,
at least under emulation.


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

usb_audio: Yet more code cleanup.

Slight logic tweaks but no real behavioral changes intended.


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

usb_audio: Properly separate kernel and userland data.

* Allocate the descriptors array separately from the data area.
* Clone the data area for kernel use separately from userland use.

Fixes the remaining SMAP problems with this driver.


# 222b10cb 19-Aug-2013 Siarzhuk Zharski <zharik@gmx.li>

USB audio: Fix building on x86_64

* fix x86_64 build errors and warnings pointed out by Diver;
* fix warning building with gcc2.


# 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.


# 222b10cbc0981904272b180609c74df8510b5c21 19-Aug-2013 Siarzhuk Zharski <zharik@gmx.li>

USB audio: Fix building on x86_64

* fix x86_64 build errors and warnings pointed out by Diver;
* fix warning building with gcc2.


# 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.