Commit: f4a6021a4da9941633ad46810077766e8763987a
Parent: f68715ecd45c8271718a6e75a197d309abec3d0a
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Szymon Janc <szymon.janc@gmail.com>
Date: 2014-02-03 22:53:08
Tree: 98c46f639043ce4d33c561fd54bac8446879bebf

android/hal-audio: Fix audio with large omtu value This patch fixes media packet construction with devices which use large omtu value. In such cases it's possible that we will try to fit more than 15 SBC frames in single media packet (which is maximum possible value as it's encoded using 4 bits) which will cause frame counter to wrap around and provide incorrect data to SBC encoder. This behaviour was seen on UPF with one of carkit devices which set omtu=2688.

Diffstat

M android/hal-audio.c | 6 +++++-

1 files changed, 5 insertions(+), 1 deletions(-)

View Full Diff | Patch