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

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: some small changes 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 4b74ca0a24090d73f7649b93a36dce24d2f9c62b..7e1ad0aa479dbdcc7e5a74ee0f28a178732309e0 100644
--- a/content/renderer/media/media_stream_audio_processor.h
+++ b/content/renderer/media/media_stream_audio_processor.h
@@ -14,6 +14,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/audio_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"
@@ -153,6 +154,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<AudioRepetitionDetector> audio_repetition_detector_;
ajm 2015/09/30 00:23:43 I don't see any reason this needs to use a scoped_
minyue 2015/09/30 19:52:32 good point. I simply followed the momentum of othe
+
// Module to handle processing and format conversion.
scoped_ptr<webrtc::AudioProcessing> audio_processing_;

Powered by Google App Engine
This is Rietveld 408576698