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

android/hal-audio: Write and sync in common code There's no need for codec abstraction to take care of writing and synchronizing actual media stream since this is something that common code can do regardless of codec used. Data are synchronized based on number of samples consumed from input stream instead of frames encoded to output stream which is also more reliable since it's not affected by encoder errors.

Diffstat

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

1 files changed, 91 insertions(+), 97 deletions(-)

View Full Diff | Patch