aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorManu Gautam <mgautam@codeaurora.org>2015-03-20 11:40:04 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2015-04-06 21:59:29 -0700
commit1e6e08d3253580252131ff3daabee7fb190fd373 (patch)
treed12dcd3d8f99c09514be2714c6b68b32638f09ae /scripts/gcc-wrapper.py
parentd0307cfd615db60db407c84175fcddfb1837a18a (diff)
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>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions