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

Unified Diff: content/renderer/media/webrtc_audio_device_impl.h

Issue 10823175: Switch AudioRenderSink::Callback to use AudioBus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Gotta catch'em all! Created 8 years, 4 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: content/renderer/media/webrtc_audio_device_impl.h
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h
index 0b412ae185642b6b52955629555887a40e5b091c..605530da2683b1964e939b8b2a0ccfe18307cb06 100644
--- a/content/renderer/media/webrtc_audio_device_impl.h
+++ b/content/renderer/media/webrtc_audio_device_impl.h
@@ -6,7 +6,6 @@
#define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_IMPL_H_
#include <string>
-#include <vector>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
@@ -218,13 +217,13 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl
virtual int32_t Release() OVERRIDE;
// media::AudioRendererSink::RenderCallback implementation.
- virtual int Render(const std::vector<float*>& audio_data,
+ virtual int Render(media::AudioBus* audio_bus,
int number_of_frames,
int audio_delay_milliseconds) OVERRIDE;
virtual void OnRenderError() OVERRIDE;
// AudioInputDevice::CaptureCallback implementation.
- virtual void Capture(const std::vector<float*>& audio_data,
+ virtual void Capture(media::AudioBus* audio_bus,
int number_of_frames,
int audio_delay_milliseconds,
double volume) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698