commit | 0986e7907ffc8387b04fb201e285784bcd11b9b7 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Jan 19 17:37:09 2010 -0800 |
committer | Eric Laurent <elaurent@google.com> | Tue Jan 26 18:40:39 2010 -0800 |
tree | 96733235d1e92e0f329ded11b9b55c0d67a4ca83 | |
parent | 7d3a558b9ebf2256517ec99cd09c066cc7dbc92c [diff] |
Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync Added getRenderPosition() API to IAudioFlinger to retreive number of audio frames written by AudioFlinger to audio HAL and by DSP to DAC. Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames written by DSP to DAC. Exposed AudioTrack::getPosition() to AudioSink() to make it available to media player. Removed excessive log in AudioHardwareGeneric.