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

Unified Diff: media/audio/audio_system_impl.h

Issue 2763383002: Switching AudioInputDeviceManager from using AudioManager interface to AudioSystem one. (Closed)
Patch Set: WeakPtr removed; combined GetInputDeviceInfo operation introduced Created 3 years, 9 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: media/audio/audio_system_impl.h
diff --git a/media/audio/audio_system_impl.h b/media/audio/audio_system_impl.h
index 27090a8117bcbb492f84baa94d7f2b2e13bdef65..a1c1313933848086cda9e424c92accb673c42dda 100644
--- a/media/audio/audio_system_impl.h
+++ b/media/audio/audio_system_impl.h
@@ -31,9 +31,16 @@ class MEDIA_EXPORT AudioSystemImpl : public AudioSystem {
void HasInputDevices(OnBoolCallback on_has_devices_cb) const override;
- void GetDeviceDescriptions(OnDeviceDescriptionsCallback on_descriptions_cp,
+ void GetDeviceDescriptions(OnDeviceDescriptionsCallback on_descriptions_cb,
bool for_input) override;
+ void GetAssociatedOutputDeviceID(const std::string& input_device_id,
+ OnDeviceIdCallback on_device_id_cb) override;
+
+ void GetInputDeviceInfo(
+ const std::string& input_device_id,
+ OnInputDeviceInfoCallback on_input_device_info_cb) override;
+
base::SingleThreadTaskRunner* GetTaskRunner() const override;
AudioManager* GetAudioManager() const override;
DaleCurtis 2017/03/28 18:22:11 Hmm, why does this method exist? We probably shoul
o1ka 2017/03/30 15:11:53 Will remove after landing https://codereview.chrom
o1ka 2017/04/05 14:21:22 Done.

Powered by Google App Engine
This is Rietveld 408576698