Isochronous transfers only have 1 frame buffer, but multiple
frame lengths. The frame buffer is at index 0. Approved by: re (kensmith) Obtained from: HPS
This commit is contained in:
parent
0e0d791891
commit
8233306b4d
@ -1256,7 +1256,7 @@ uaudio_chan_record_callback(struct usb_xfer *xfer, usb_error_t error)
|
||||
for (n = 0; n != nframes; n++) {
|
||||
|
||||
offset1 = offset0;
|
||||
pc = usbd_xfer_get_frame(xfer, n);
|
||||
pc = usbd_xfer_get_frame(xfer, 0);
|
||||
len = usbd_xfer_frame_len(xfer, n);
|
||||
|
||||
while (len > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user