diff options
author | Glenn Kasten <gkasten@google.com> | 2013-07-19 16:33:58 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-08-28 17:24:58 -0700 |
commit | ce70374bf105f8a6160bf5dd70affea012b2a464 (patch) | |
tree | 60d2673b83bff3622e7e299974104e572656b5a6 /media/libmedia/IAudioTrack.cpp | |
parent | e07f53720bcf543bcfe90c228a49c2a85a3fdb4c (diff) | |
download | frameworks_av-ce70374bf105f8a6160bf5dd70affea012b2a464.zip frameworks_av-ce70374bf105f8a6160bf5dd70affea012b2a464.tar.gz frameworks_av-ce70374bf105f8a6160bf5dd70affea012b2a464.tar.bz2 |
New AudioTrack C++ API for audio timestamps
This new API is intended to replace latency(), especially for A/V sync.
The application will receive periodic timestamp notifications. The period
is unspecified, but will likely be more frequent after a pause or stop,
set position, underrun, display on/off change, route change, or when audio
framework notices drift. It will be up to the higher level application
(e.g. Stagefright) to reconstruct a clock that updates more frequently.
The current latency() method doesn't indicate when latency changes
due to screen on/off state, route changes, etc.
Includes squahsed change-Id: I2082f8752040be0c234b1a6f1be2e269abf2ce7c
Dummy implementation of AudioTrack:getTimestamp()
Rename AudioTrack::Timestamp to AudioTimestamp.
Renaming and pulling up to a higher level allows more modules to use it.
Change-Id: Ibf7f6a207c3f8d8697f25ede2cd5200697fadb86
(cherry picked from commit dd69eb893867634fd169c03204a6ad7c74b351e7)
Diffstat (limited to 'media/libmedia/IAudioTrack.cpp')
0 files changed, 0 insertions, 0 deletions