OLD | NEW |
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 18 matching lines...) Expand all Loading... |
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 HasOutputDevices(OnBoolCallback on_has_devices_cb) const override; | 34 void HasOutputDevices(OnBoolCallback on_has_devices_cb) const override; |
35 | 35 |
36 void GetDeviceDescriptions(OnDeviceDescriptionsCallback on_descriptions_cp, | 36 void GetDeviceDescriptions(OnDeviceDescriptionsCallback on_descriptions_cp, |
37 bool for_input) override; | 37 bool for_input) override; |
38 | 38 |
| 39 void GetAssociatedOutputDeviceID(const std::string& input_device_id, |
| 40 OnDeviceIdCallback on_device_id_cb) override; |
| 41 |
| 42 void GetInputDeviceInfo( |
| 43 const std::string& input_device_id, |
| 44 OnInputDeviceInfoCallback on_input_device_info_cb) override; |
| 45 |
39 base::SingleThreadTaskRunner* GetTaskRunner() const override; | 46 base::SingleThreadTaskRunner* GetTaskRunner() const override; |
40 | 47 |
41 AudioManager* GetAudioManager() const override; | |
42 | |
43 protected: | 48 protected: |
44 AudioSystemImpl(AudioManager* audio_manager); | 49 AudioSystemImpl(AudioManager* audio_manager); |
45 | 50 |
46 private: | 51 private: |
47 AudioManager* const audio_manager_; | 52 AudioManager* const audio_manager_; |
48 | 53 |
49 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl); | 54 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl); |
50 }; | 55 }; |
51 | 56 |
52 } // namespace media | 57 } // namespace media |
53 | 58 |
54 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ | 59 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ |
OLD | NEW |