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

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

Issue 1357013006: Add detection for repeated audio in capturing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing dll Created 5 years, 3 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/media_stream_audio_processor.h
diff --git a/content/renderer/media/media_stream_audio_processor.h b/content/renderer/media/media_stream_audio_processor.h
index 8d28008ae785c94940ac35c00f2d3802d079852b..94ec91a5771a7120fc25bdfe76ca95f962e1b2e5 100644
--- a/content/renderer/media/media_stream_audio_processor.h
+++ b/content/renderer/media/media_stream_audio_processor.h
@@ -13,6 +13,7 @@
#include "content/common/content_export.h"
#include "content/public/common/media_stream_request.h"
#include "content/renderer/media/aec_dump_message_filter.h"
+#include "content/renderer/media/repetition_detector.h"
#include "content/renderer/media/webrtc_audio_device_impl.h"
#include "media/base/audio_converter.h"
#include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h"
@@ -152,6 +153,9 @@ class CONTENT_EXPORT MediaStreamAudioProcessor :
// both the capture audio thread and the render audio thread.
base::subtle::Atomic32 render_delay_ms_;
+ // Module to detect and report (to UMA) bit exact audio repetition.
+ scoped_ptr<RepetitionDetector> repetition_detector_;
+
// Module to handle processing and format conversion.
scoped_ptr<webrtc::AudioProcessing> audio_processing_;

Powered by Google App Engine
This is Rietveld 408576698