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

Side by Side Diff: media/audio/audio_manager.h

Issue 583833008: Set keyboard mic effect if available. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: This should be the correct setup and teardown order for tests. Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/test/webrtc_content_browsertest_base.cc ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // an empty string. Must be called on the audio worker thread (see 170 // an empty string. Must be called on the audio worker thread (see
171 // GetWorkerTaskRunner()). 171 // GetWorkerTaskRunner()).
172 virtual std::string GetAssociatedOutputDeviceID( 172 virtual std::string GetAssociatedOutputDeviceID(
173 const std::string& input_device_id) = 0; 173 const std::string& input_device_id) = 0;
174 174
175 // Create a new AudioLog object for tracking the behavior for one or more 175 // Create a new AudioLog object for tracking the behavior for one or more
176 // instances of the given component. See AudioLogFactory for more details. 176 // instances of the given component. See AudioLogFactory for more details.
177 virtual scoped_ptr<AudioLog> CreateAudioLog( 177 virtual scoped_ptr<AudioLog> CreateAudioLog(
178 AudioLogFactory::AudioComponent component) = 0; 178 AudioLogFactory::AudioComponent component) = 0;
179 179
180 // Informs the audio manager that the system has support for a keyboard mic.
181 // This information will be passed on in the return value of
182 // GetInputStreamParameters as an effect. Only supported on ChromeOS.
183 virtual void SetHasKeyboardMic() = 0;
184
180 protected: 185 protected:
181 AudioManager(); 186 AudioManager();
182 187
183 private: 188 private:
184 DISALLOW_COPY_AND_ASSIGN(AudioManager); 189 DISALLOW_COPY_AND_ASSIGN(AudioManager);
185 }; 190 };
186 191
187 } // namespace media 192 } // namespace media
188 193
189 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ 194 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « content/test/webrtc_content_browsertest_base.cc ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698