summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_manager_base.h
diff options
context:
space:
mode:
authorgrunell <grunell@chromium.org>2014-09-24 01:36:05 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-24 08:36:13 +0000
commit2f7682929e1bee07cf754a3a849e1cf905d25f0a (patch)
tree770cf33a9d037d15cf69c681fe585465efddf6a4 /media/audio/audio_manager_base.h
parent773c53fcf84624a0d1ff4d50f6de5368c37b99b5 (diff)
downloadchromium_src-2f7682929e1bee07cf754a3a849e1cf905d25f0a.zip
chromium_src-2f7682929e1bee07cf754a3a849e1cf905d25f0a.tar.gz
chromium_src-2f7682929e1bee07cf754a3a849e1cf905d25f0a.tar.bz2
Set keyboard mic effect if available.
* Check if keyboard mic is available in MediaStreamManager and inform AudioManager if so. * AudioManager sets the effect in AudioParameters returned from GetInputStreamParameters if available. BUG=345296 Review URL: https://codereview.chromium.org/583833008 Cr-Commit-Position: refs/heads/master@{#296368}
Diffstat (limited to 'media/audio/audio_manager_base.h')
-rw-r--r--media/audio/audio_manager_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h
index bc13ee5..40fb6c3 100644
--- a/media/audio/audio_manager_base.h
+++ b/media/audio/audio_manager_base.h
@@ -115,6 +115,8 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
virtual scoped_ptr<AudioLog> CreateAudioLog(
AudioLogFactory::AudioComponent component) OVERRIDE;
+ virtual void SetHasKeyboardMic() OVERRIDE;
+
// Get number of input or output streams.
int input_stream_count() const { return num_input_streams_; }
int output_stream_count() const { return num_output_streams_; }