Parent: fe16c25b4b6be57f9443ab825dcdc77cfb8748b2
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-03-04 11:26:37
Tree: 5c93fd89e1665b3f0823e371b68c20a222414ad7
android/hal-audio: Provide better audio synchronization Instead of waiting some fixed amount of useconds before next media packet is encoded we use absolute time to wait precisely for a moment when next packet is expected to be produced. This greatly improves flow as is can compensate for time spent on encoding and writing data.
Diffstat
| M | android/hal-audio.c | | | 91 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 49 insertions(+), 42 deletions(-)