From 46564213965397d01fb87975f3bddd597985fcbf Mon Sep 17 00:00:00 2001 From: "scherkus@chromium.org" Date: Tue, 28 Jul 2009 20:36:37 +0000 Subject: Implemented a proper clock for audio/video synchronization. More or less a change to pull out time management from PipelineImpl into a new class ClockImpl. Biggest difference is ClockImpl will use the system clock + linear interpolation to provide a more "precise" representation of the current playback position. BUG=16508 TEST=a/v sync should remain the same, currentTime should report more precise values Review URL: http://codereview.chromium.org/159517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21882 0039d316-1c4b-4281-b951-d872f2087c98 --- media/media.gyp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'media/media.gyp') diff --git a/media/media.gyp b/media/media.gyp index 2c8e963..f725862 100644 --- a/media/media.gyp +++ b/media/media.gyp @@ -51,6 +51,9 @@ 'base/buffer_queue.h', 'base/buffer_queue.cc', 'base/buffers.h', + 'base/clock.h', + 'base/clock_impl.cc', + 'base/clock_impl.h', 'base/data_buffer.cc', 'base/data_buffer.h', 'base/factory.h', @@ -154,6 +157,7 @@ 'audio/simple_sources_unittest.cc', 'audio/win/audio_output_win_unittest.cc', 'base/buffer_queue_unittest.cc', + 'base/clock_impl_unittest.cc', 'base/data_buffer_unittest.cc', 'base/mock_ffmpeg.cc', 'base/mock_ffmpeg.h', -- cgit v1.1