usb_audio: Always USB_ISO_ASAP rather than scheduling transfers by frame.

Seems to make things work much better.
This commit is contained in:
Augustin Cavalier 2024-01-30 00:16:07 -05:00
parent 005ba2b47d
commit 02f5db9104
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
* Driver for USB Audio Device Class devices.
* Copyright (c) 2009-13 S.Zharski <imker@gmx.li>
* Distributed under the terms of the MIT license.
*
*/
@ -313,7 +312,7 @@ Stream::_QueueNextTransfer(size_t queuedBuffer, bool start)
status_t status = gUSBModule->queue_isochronous(fStreamEndpoint,
fKernelBuffers + bufferSize * queuedBuffer, bufferSize,
fDescriptors + queuedBuffer * packetsCount, packetsCount,
&fStartingFrame, start ? USB_ISO_ASAP : 0,
&fStartingFrame, USB_ISO_ASAP,
Stream::_TransferCallback, this);
TRACE(DTA, "frame:%#010x\n", fStartingFrame);