Loading
usb: audio: Fix realtime voice quality issues
Change buffer size from 8K to 2K/1K i.e. worth 64msec of data and introduce double buffering for capture path (TX/IN) to handle under-run condition. If it still happens then send 0s for IN/TX/capture instead of re-sending same sample. As AUDIO driver uses 8KHz sampling rate (i.e. 16KBps for mono/single channel), change capture EP's packetsize to match the transfer rate i.e. 16bytes every 1msec. Also drop UL (playback) packets incase of overruns to avoid latencies for next data due to pending xfers. Change-Id: I7e337e2f34cbf35370f7c4f20b4dfed5325bb9c3 Signed-off-by:Manu Gautam <mgautam@codeaurora.org> [jackp@codeaurora.org: updated to fit in with new function opts style] Signed-off-by:
Jack Pham <jackp@codeaurora.org>