diff options
author | Dave Sparks <davidsparks@android.com> | 2009-07-08 15:56:53 -0700 |
---|---|---|
committer | Dave Sparks <davidsparks@android.com> | 2009-07-08 15:59:25 -0700 |
commit | f72d640b7c7de40b4c5d83b69748535e4254c941 (patch) | |
tree | 984c3ef3759970c80d7f794eb06020776307453e /include/ui/ICameraClient.h | |
parent | ed65428df256e3d51c1817acdd05ad15c6a91396 (diff) | |
download | frameworks_native-f72d640b7c7de40b4c5d83b69748535e4254c941.zip frameworks_native-f72d640b7c7de40b4c5d83b69748535e4254c941.tar.gz frameworks_native-f72d640b7c7de40b4c5d83b69748535e4254c941.tar.bz2 |
Add timestamps to video frames to improve A/V sync.
Bug 1927069.
Diffstat (limited to 'include/ui/ICameraClient.h')
-rw-r--r-- | include/ui/ICameraClient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ui/ICameraClient.h b/include/ui/ICameraClient.h index c4bdd07..1001c71 100644 --- a/include/ui/ICameraClient.h +++ b/include/ui/ICameraClient.h @@ -21,6 +21,7 @@ #include <utils/IInterface.h> #include <utils/Parcel.h> #include <utils/IMemory.h> +#include <utils/Timers.h> namespace android { @@ -31,7 +32,7 @@ public: virtual void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2) = 0; virtual void dataCallback(int32_t msgType, const sp<IMemory>& data) = 0; - + virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0; }; // ---------------------------------------------------------------------------- |