Hi, Peter Chen <peter.chen@xxxxxxx> writes: > There are only two requests for uac2, it may not be enough at high > loading system which usb interrupt handler can't be serviced on > time, then the data will be lost since it is isoc transfer for audio. > > In this patch, we introduce a parameter for the number for usb request, > and the user can override it if current number for request is not enough > for his/her use case. > > Besides, update this parameter for legacy audio gadget and documentation. I would rather just drop pre-allocation of requests. Every time Audio wants transmit data you allocate and queue a request there and free() the request on completion. All of these functions already have a ton of parameters :-s -- balbi
Attachment:
signature.asc
Description: PGP signature