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

Unified Diff: media/base/audio_buffer.h

Issue 2349873002: AudioBuffer: remove PadSilence() (Closed)
Patch Set: feedback: extra headers Created 4 years, 3 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_buffer.cc » ('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 e14f08222dd5a3c0aaf7eb57ea1bf95b98a03067..d03a02ed4fcfa1ea7ffd2bbae91e0c669a37cb2a 100644
--- a/media/base/audio_buffer.h
+++ b/media/base/audio_buffer.h
@@ -94,10 +94,6 @@ class MEDIA_EXPORT AudioBuffer
int dest_frame_offset,
AudioBus* dest);
- // Add |silence_frames| frames of silence to the start of the buffer. Silence
- // padding can be removed using any of the Trim*() methods.
- void PadStart(int silence_frames);
-
// Trim an AudioBuffer by removing |frames_to_trim| frames from the start.
// Timestamp and duration are adjusted to reflect the fewer frames.
// Note that repeated calls to TrimStart() may result in timestamp() and
@@ -165,10 +161,6 @@ class MEDIA_EXPORT AudioBuffer
virtual ~AudioBuffer();
- void AllocateAndCopy(const uint8_t* const* data,
- int frame_count,
- int silence_frames);
-
const SampleFormat sample_format_;
const ChannelLayout channel_layout_;
const int channel_count_;
« no previous file with comments | « no previous file | media/base/audio_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698