| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CRAS_AUDIO_MANAGER_CRAS_H_ | 5 #ifndef MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ |
| 6 #define MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ | 6 #define MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ |
| 7 | 7 |
| 8 #include <cras_types.h> | 8 #include <cras_types.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 AudioLogFactory* audio_log_factory); | 24 AudioLogFactory* audio_log_factory); |
| 25 | 25 |
| 26 // AudioManager implementation. | 26 // AudioManager implementation. |
| 27 bool HasAudioOutputDevices() override; | 27 bool HasAudioOutputDevices() override; |
| 28 bool HasAudioInputDevices() override; | 28 bool HasAudioInputDevices() override; |
| 29 void ShowAudioInputSettings() override; | 29 void ShowAudioInputSettings() override; |
| 30 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; | 30 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; |
| 31 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; | 31 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; |
| 32 AudioParameters GetInputStreamParameters( | 32 AudioParameters GetInputStreamParameters( |
| 33 const std::string& device_id) override; | 33 const std::string& device_id) override; |
| 34 const char* GetName() override; |
| 34 | 35 |
| 35 // AudioManagerBase implementation. | 36 // AudioManagerBase implementation. |
| 36 AudioOutputStream* MakeLinearOutputStream( | 37 AudioOutputStream* MakeLinearOutputStream( |
| 37 const AudioParameters& params, | 38 const AudioParameters& params, |
| 38 const LogCallback& log_callback) override; | 39 const LogCallback& log_callback) override; |
| 39 AudioOutputStream* MakeLowLatencyOutputStream( | 40 AudioOutputStream* MakeLowLatencyOutputStream( |
| 40 const AudioParameters& params, | 41 const AudioParameters& params, |
| 41 const std::string& device_id, | 42 const std::string& device_id, |
| 42 const LogCallback& log_callback) override; | 43 const LogCallback& log_callback) override; |
| 43 AudioInputStream* MakeLinearInputStream( | 44 AudioInputStream* MakeLinearInputStream( |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 76 |
| 76 const char* beamforming_on_device_id_; | 77 const char* beamforming_on_device_id_; |
| 77 const char* beamforming_off_device_id_; | 78 const char* beamforming_off_device_id_; |
| 78 | 79 |
| 79 DISALLOW_COPY_AND_ASSIGN(AudioManagerCras); | 80 DISALLOW_COPY_AND_ASSIGN(AudioManagerCras); |
| 80 }; | 81 }; |
| 81 | 82 |
| 82 } // namespace media | 83 } // namespace media |
| 83 | 84 |
| 84 #endif // MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ | 85 #endif // MEDIA_AUDIO_CRAS_AUDIO_MANAGER_CRAS_H_ |
| OLD | NEW |