summaryrefslogtreecommitdiffstats
path: root/media/base/audio_capturer_source.h
diff options
context:
space:
mode:
authorphoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-15 11:11:35 +0000
committerphoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-15 11:11:35 +0000
commit1a8d01dcec084ec94daf7f8adf5e7a25a66a02f6 (patch)
tree447a7a4b1091b6b3023da4cd5e34163a7364a5b2 /media/base/audio_capturer_source.h
parent8c2614c507b95b532e3edaba22fdafd67c94234f (diff)
downloadchromium_src-1a8d01dcec084ec94daf7f8adf5e7a25a66a02f6.zip
chromium_src-1a8d01dcec084ec94daf7f8adf5e7a25a66a02f6.tar.gz
chromium_src-1a8d01dcec084ec94daf7f8adf5e7a25a66a02f6.tar.bz2
Revert 217768 "Adding key press detection in the browser process."
> Adding key press detection in the browser process. > It works like this on the browser side: > A new object KeyPressMonitor is created on BrowserMainLoop and passed to AudioInputRendererHost to pass to AudioInputController. > AudioInputController::DoRecord calls KeyPressMonitor::AddKeyPressListener --> KeyPressMonitor listens to system key events through UserInputMonitor(only implemented on Linux) --> AudioInputController::OnKeyPressed is called and sets key_pressed_ --> When AudioInputController::OnData called, it writes key_pressed_ to shared memory along with the audio data buffer. > On the renderer side a new param "key_pressed" is added through the code path of passing the flag to the webrtc voice engine. > This CL includes all these changes except the implementation of UserInputMonitor for Windows and Mac. The impl of UserInputMonitor is mostly copied from remoting/host/local_input_monitor_linux.cc > > > BUG= > > Review URL: https://chromiumcodereview.appspot.com/21183002 TBR=jiayl@chromium.org Review URL: https://codereview.chromium.org/22871007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/audio_capturer_source.h')
-rw-r--r--media/base/audio_capturer_source.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/media/base/audio_capturer_source.h b/media/base/audio_capturer_source.h
index b584f8a..deae5e2 100644
--- a/media/base/audio_capturer_source.h
+++ b/media/base/audio_capturer_source.h
@@ -26,8 +26,7 @@ class AudioCapturerSource
// Callback to deliver the captured data from the OS.
virtual void Capture(AudioBus* audio_source,
int audio_delay_milliseconds,
- double volume,
- bool key_pressed) = 0;
+ double volume) = 0;
// Signals an error has occurred.
virtual void OnCaptureError() = 0;