Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2492)

Unified Diff: media/base/android/audio_decoder_job.h

Issue 238053004: Revert of Fix an issue that audio and video may run out of sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/android/audio_decoder_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/audio_decoder_job.h
diff --git a/media/base/android/audio_decoder_job.h b/media/base/android/audio_decoder_job.h
index 4a37038c430cd5055a34c94bd89ec4953413d06f..3d1b21f4b4a44298b2fd790f39c3f3848ac27a27 100644
--- a/media/base/android/audio_decoder_job.h
+++ b/media/base/android/audio_decoder_job.h
@@ -12,7 +12,6 @@
namespace media {
class AudioCodecBridge;
-class AudioTimestampHelper;
// Class for managing audio decoding jobs.
class AudioDecoderJob : public MediaDecoderJob {
@@ -35,13 +34,8 @@
void SetVolume(double volume);
- // Sets the base timestamp for |audio_timestamp_helper_|.
- void SetBaseTimestamp(base::TimeDelta base_timestamp);
-
private:
- AudioDecoderJob(scoped_ptr<AudioTimestampHelper> audio_timestamp_helper,
- scoped_ptr<AudioCodecBridge> audio_decoder_bridge,
- int bytes_per_frame,
+ AudioDecoderJob(scoped_ptr<AudioCodecBridge> audio_decoder_bridge,
const base::Closure& request_data_cb);
// MediaDecoderJob implementation.
@@ -49,18 +43,11 @@
int output_buffer_index,
size_t size,
bool render_output,
- base::TimeDelta current_presentation_timestamp,
const ReleaseOutputCompletionCallback& callback) OVERRIDE;
virtual bool ComputeTimeToRender() const OVERRIDE;
- // number of bytes per audio frame;
- int bytes_per_frame_;
-
scoped_ptr<AudioCodecBridge> audio_codec_bridge_;
-
- // Object to calculate the current audio timestamp for A/V sync.
- scoped_ptr<AudioTimestampHelper> audio_timestamp_helper_;
};
} // namespace media
« no previous file with comments | « no previous file | media/base/android/audio_decoder_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698