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

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

Issue 9234066: Detect errors in audio output and report them upstream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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 | « content/renderer/media/webrtc_audio_device_impl.h ('k') | content/renderer/renderer_webaudiodevice_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_audio_device_impl.cc
diff --git a/content/renderer/media/webrtc_audio_device_impl.cc b/content/renderer/media/webrtc_audio_device_impl.cc
index 954b8c9e0b80da7a27a71270a0bfb53ab3df6b43..869deb7f46c6a1ed2d256bf17132c9aecd40541c 100644
--- a/content/renderer/media/webrtc_audio_device_impl.cc
+++ b/content/renderer/media/webrtc_audio_device_impl.cc
@@ -118,6 +118,10 @@ size_t WebRtcAudioDeviceImpl::Render(
return number_of_frames;
}
+void WebRtcAudioDeviceImpl::OnError() {
+ // TODO(henrika): Implement error handling.
+}
+
void WebRtcAudioDeviceImpl::Capture(
const std::vector<float*>& audio_data,
size_t number_of_frames,
« no previous file with comments | « content/renderer/media/webrtc_audio_device_impl.h ('k') | content/renderer/renderer_webaudiodevice_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698