Fix the USB audio feedback endpoint algorithm. There should not
be any need to bias the returned value. Reported by: Craig Leres <leres@ee.lbl.gov>
This commit is contained in:
parent
2ebcc8ac4a
commit
bf02c706c7
@ -1981,10 +1981,6 @@ uaudio_chan_play_sync_callback(struct usb_xfer *xfer, usb_error_t error)
|
||||
while (temp > (sample_rate + (sample_rate / 2)))
|
||||
temp /= 2;
|
||||
|
||||
/* bias */
|
||||
|
||||
temp += (sample_rate + 1999) / 2000;
|
||||
|
||||
/* compare */
|
||||
|
||||
DPRINTF("Comparing %d < %d\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user