Index: media/base/audio_buffer.h |
diff --git a/media/base/audio_buffer.h b/media/base/audio_buffer.h |
index 5d7ab7f5c6700cd05413a691e07408d43177bc53..2401ed81dd5bdb85a3763b93d9397f1074475be6 100644 |
--- a/media/base/audio_buffer.h |
+++ b/media/base/audio_buffer.h |
@@ -42,8 +42,7 @@ class MEDIA_EXPORT AudioBuffer |
int sample_rate, |
int frame_count, |
const uint8* const* data, |
- const base::TimeDelta timestamp, |
- const base::TimeDelta duration); |
+ const base::TimeDelta timestamp); |
// Create an AudioBuffer with |frame_count| frames. Buffer is allocated, but |
// not initialized. Timestamp and duration are set to kNoTimestamp(). |
@@ -59,8 +58,7 @@ class MEDIA_EXPORT AudioBuffer |
int channel_count, |
int sample_rate, |
int frame_count, |
- const base::TimeDelta timestamp, |
- const base::TimeDelta duration); |
+ const base::TimeDelta timestamp); |
// Create a AudioBuffer indicating we've reached end of stream. |
// Calling any method other than end_of_stream() on the resulting buffer |
@@ -102,7 +100,6 @@ class MEDIA_EXPORT AudioBuffer |
base::TimeDelta timestamp() const { return timestamp_; } |
base::TimeDelta duration() const { return duration_; } |
void set_timestamp(base::TimeDelta timestamp) { timestamp_ = timestamp; } |
- void set_duration(base::TimeDelta duration) { duration_ = duration; } |
// If there's no data in this buffer, it represents end of stream. |
bool end_of_stream() const { return end_of_stream_; } |
@@ -126,8 +123,7 @@ class MEDIA_EXPORT AudioBuffer |
int frame_count, |
bool create_buffer, |
const uint8* const* data, |
- const base::TimeDelta timestamp, |
- const base::TimeDelta duration); |
+ const base::TimeDelta timestamp); |
virtual ~AudioBuffer(); |