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

Side by Side 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, 8 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_SYSTEM_IMPL_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
6 #define MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ 6 #define MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
7 7
8 #include "media/audio/audio_system.h" 8 #include "media/audio/audio_system.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 13 matching lines...) Expand all
24 void GetInputStreamParameters( 24 void GetInputStreamParameters(
25 const std::string& device_id, 25 const std::string& device_id,
26 OnAudioParamsCallback on_params_cb) const override; 26 OnAudioParamsCallback on_params_cb) const override;
27 27
28 void GetOutputStreamParameters( 28 void GetOutputStreamParameters(
29 const std::string& device_id, 29 const std::string& device_id,
30 OnAudioParamsCallback on_params_cb) const override; 30 OnAudioParamsCallback on_params_cb) const override;
31 31
32 void HasInputDevices(OnBoolCallback on_has_devices_cb) const override; 32 void HasInputDevices(OnBoolCallback on_has_devices_cb) const override;
33 33
34 void GetDeviceDescriptions(OnDeviceDescriptionsCallback on_descriptions_cp, 34 void GetDeviceDescriptions(OnDeviceDescriptionsCallback on_descriptions_cb,
35 bool for_input) override; 35 bool for_input) override;
36 36
37 void GetAssociatedOutputDeviceID(const std::string& input_device_id,
38 OnDeviceIdCallback on_device_id_cb) override;
39
40 void GetInputDeviceInfo(
41 const std::string& input_device_id,
42 OnInputDeviceInfoCallback on_input_device_info_cb) override;
43
37 base::SingleThreadTaskRunner* GetTaskRunner() const override; 44 base::SingleThreadTaskRunner* GetTaskRunner() const override;
38 45
39 AudioManager* GetAudioManager() const override; 46 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.
40 47
41 protected: 48 protected:
42 AudioSystemImpl(AudioManager* audio_manager); 49 AudioSystemImpl(AudioManager* audio_manager);
43 50
44 private: 51 private:
45 AudioManager* const audio_manager_; 52 AudioManager* const audio_manager_;
46 53
47 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl); 54 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl);
48 }; 55 };
49 56
50 } // namespace media 57 } // namespace media
51 58
52 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ 59 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698