Chromium Code Reviews| Index: content/renderer/media/webrtc_audio_device_impl.h |
| =================================================================== |
| --- content/renderer/media/webrtc_audio_device_impl.h (revision 113847) |
| +++ content/renderer/media/webrtc_audio_device_impl.h (working copy) |
| @@ -6,6 +6,7 @@ |
| #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_IMPL_H_ |
| #pragma once |
| +#include <string> |
|
Chris Rogers
2011/12/15 00:32:52
Do we really need to include this just to get "siz
enal1
2011/12/15 16:54:40
We need it because in line 125 we are using std::s
|
| #include <vector> |
| #include "base/basictypes.h" |
| @@ -111,9 +112,9 @@ |
| static bool ImplementsThreadSafeReferenceCounting() { return true; } |
| // AudioDevice::RenderCallback implementation. |
| - virtual void Render(const std::vector<float*>& audio_data, |
| - size_t number_of_frames, |
| - size_t audio_delay_milliseconds) OVERRIDE; |
| + virtual size_t Render(const std::vector<float*>& audio_data, |
| + size_t number_of_frames, |
| + size_t audio_delay_milliseconds) OVERRIDE; |
| // AudioInputDevice::CaptureCallback implementation. |
| virtual void Capture(const std::vector<float*>& audio_data, |