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

Unified Diff: media/base/audio_buffer.h

Issue 259453003: Introduce AudioDiscardHelper. Refactor audio decoders to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix x64 type. 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/audio_discard_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_buffer.h
diff --git a/media/base/audio_buffer.h b/media/base/audio_buffer.h
index 902407f4adf66053b690dd23a4ab0c863f53bd82..5d7ab7f5c6700cd05413a691e07408d43177bc53 100644
--- a/media/base/audio_buffer.h
+++ b/media/base/audio_buffer.h
@@ -99,13 +99,8 @@ class MEDIA_EXPORT AudioBuffer
// Return the channel layout.
ChannelLayout channel_layout() const { return channel_layout_; }
- // Access to constructor parameters.
base::TimeDelta timestamp() const { return timestamp_; }
base::TimeDelta duration() const { return duration_; }
-
- // TODO(jrummell): Remove set_timestamp() and set_duration() once
- // DecryptingAudioDecoder::EnqueueFrames() is changed to set them when
- // creating the buffer. See http://crbug.com/255261.
void set_timestamp(base::TimeDelta timestamp) { timestamp_ = timestamp; }
void set_duration(base::TimeDelta duration) { duration_ = duration; }
« no previous file with comments | « no previous file | media/base/audio_discard_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698