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

Unified Diff: media/base/audio_renderer_mixer_input.h

Issue 10698066: Switch to pcm_low_latency and enable resampling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 8 years, 5 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
Index: media/base/audio_renderer_mixer_input.h
diff --git a/media/base/audio_renderer_mixer_input.h b/media/base/audio_renderer_mixer_input.h
index 7e8c9f1ccd6896fcf337048188caa7d02ae22f1e..c92fa0cc408978b364cdcdff58eb4673d8f83020 100644
--- a/media/base/audio_renderer_mixer_input.h
+++ b/media/base/audio_renderer_mixer_input.h
@@ -19,9 +19,6 @@ class MEDIA_EXPORT AudioRendererMixerInput
explicit AudioRendererMixerInput(
const scoped_refptr<AudioRendererMixer>& mixer);
- // Each input should manage its own data buffer. The mixer will call this
- // method when it needs a buffer for rendering.
- const std::vector<float*>& audio_data() { return audio_data_; }
AudioRendererSink::RenderCallback* callback() { return callback_; }
bool playing() { return playing_; }
@@ -50,9 +47,6 @@ class MEDIA_EXPORT AudioRendererMixerInput
// Source of audio data which is provided to the mixer.
AudioRendererSink::RenderCallback* callback_;
- // Vector for rendering audio data which will be used by the mixer.
- std::vector<float*> audio_data_;
-
DISALLOW_COPY_AND_ASSIGN(AudioRendererMixerInput);
};

Powered by Google App Engine
This is Rietveld 408576698