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

Unified Diff: media/base/audio_buffer_converter.h

Issue 245523002: Merge 264918 "Fix the output request size for AudioBufferConvert..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/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/audio_buffer_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_buffer_converter.h
===================================================================
--- media/base/audio_buffer_converter.h (revision 265022)
+++ media/base/audio_buffer_converter.h (working copy)
@@ -42,6 +42,13 @@
// timestamp will be set to match the input buffer.
void ResetTimestampState();
+ int input_buffer_size_for_testing() const {
+ return input_params_.frames_per_buffer();
+ }
+ int input_frames_left_for_testing() const {
+ return input_frames_;
+ }
+
private:
// Callback to provide data to the AudioConverter
virtual double ProvideInput(AudioBus* audio_bus,
« no previous file with comments | « no previous file | media/base/audio_buffer_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698