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

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

Issue 21183002: Adding key press detection in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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_capturer_sink_owner.cc
diff --git a/content/renderer/media/webrtc_audio_capturer_sink_owner.cc b/content/renderer/media/webrtc_audio_capturer_sink_owner.cc
index cb6a813b0702443d34545ca9afa9935d0f3d4702..59de5107c0f68dc81f2a4c615ab018500c5efbdd 100644
--- a/content/renderer/media/webrtc_audio_capturer_sink_owner.cc
+++ b/content/renderer/media/webrtc_audio_capturer_sink_owner.cc
@@ -18,13 +18,19 @@ int WebRtcAudioCapturerSinkOwner::CaptureData(const std::vector<int>& channels,
int number_of_frames,
int audio_delay_milliseconds,
int current_volume,
- bool need_audio_processing) {
+ bool need_audio_processing,
+ bool key_pressed) {
base::AutoLock lock(lock_);
if (delegate_) {
- return delegate_->CaptureData(channels, audio_data, sample_rate,
- number_of_channels, number_of_frames,
- audio_delay_milliseconds, current_volume,
- need_audio_processing);
+ delegate_->CaptureData(channels,
+ audio_data,
+ sample_rate,
+ number_of_channels,
+ number_of_frames,
+ audio_delay_milliseconds,
+ current_volume,
+ need_audio_processing,
+ key_pressed);
}
return 0;
« no previous file with comments | « content/renderer/media/webrtc_audio_capturer_sink_owner.h ('k') | content/renderer/media/webrtc_audio_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698