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

Unified Diff: media/audio/fake_audio_input_stream.h

Issue 314713002: Modifies AudioInputCallback::OnData and use media::AudioBus instead of plain byte vector (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 6 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/audio/fake_audio_input_stream.h
diff --git a/media/audio/fake_audio_input_stream.h b/media/audio/fake_audio_input_stream.h
index 8dc24271dbedd07912e27ffb09d56611c463c811..e6c625e6b3a2dd843630728667a1e2efd7e5f8ec 100644
--- a/media/audio/fake_audio_input_stream.h
+++ b/media/audio/fake_audio_input_stream.h
@@ -18,6 +18,7 @@
namespace media {
+class AudioBus;
class AudioManagerBase;
class MEDIA_EXPORT FakeAudioInputStream
@@ -68,6 +69,7 @@ class MEDIA_EXPORT FakeAudioInputStream
int beep_generated_in_buffers_;
int beep_period_in_frames_;
int frames_elapsed_;
+ scoped_ptr<media::AudioBus> audio_bus_;
DISALLOW_COPY_AND_ASSIGN(FakeAudioInputStream);
};

Powered by Google App Engine
This is Rietveld 408576698