Commit: 7f2fc02e7fc2a3e77e0027f296a0e88e6b3b3d98
Parent: 4fe71a03e089cbeeac191072cfecc3fcea9766a3
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-03-04 11:26:37
Tree: de8d6c4cb8519bec1a51ff88ad69d96079c5634b

android/hal-audio: Add encode_mediapacket function This patch moves code which encodes data for media packet into single function. It will simply try to put as much encoded frames as will fit in provided media packet buffer. This is first step to make common code responsible for media stream write and synchronizarion instead of codec abstraction code as it is handled now.

Diffstat

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

1 files changed, 57 insertions(+), 45 deletions(-)

View Full Diff | Patch