| OLD | NEW |
| 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_WIN_AUDIO_MANAGER_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
| 6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 bool HasAudioOutputDevices() override; | 29 bool HasAudioOutputDevices() override; |
| 30 bool HasAudioInputDevices() override; | 30 bool HasAudioInputDevices() override; |
| 31 base::string16 GetAudioInputDeviceModel() override; | 31 base::string16 GetAudioInputDeviceModel() override; |
| 32 void ShowAudioInputSettings() override; | 32 void ShowAudioInputSettings() override; |
| 33 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; | 33 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; |
| 34 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; | 34 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; |
| 35 AudioParameters GetInputStreamParameters( | 35 AudioParameters GetInputStreamParameters( |
| 36 const std::string& device_id) override; | 36 const std::string& device_id) override; |
| 37 std::string GetAssociatedOutputDeviceID( | 37 std::string GetAssociatedOutputDeviceID( |
| 38 const std::string& input_device_id) override; | 38 const std::string& input_device_id) override; |
| 39 const char* GetName() override; |
| 39 | 40 |
| 40 // Implementation of AudioManagerBase. | 41 // Implementation of AudioManagerBase. |
| 41 AudioOutputStream* MakeLinearOutputStream( | 42 AudioOutputStream* MakeLinearOutputStream( |
| 42 const AudioParameters& params, | 43 const AudioParameters& params, |
| 43 const LogCallback& log_callback) override; | 44 const LogCallback& log_callback) override; |
| 44 AudioOutputStream* MakeLowLatencyOutputStream( | 45 AudioOutputStream* MakeLowLatencyOutputStream( |
| 45 const AudioParameters& params, | 46 const AudioParameters& params, |
| 46 const std::string& device_id, | 47 const std::string& device_id, |
| 47 const LogCallback& log_callback) override; | 48 const LogCallback& log_callback) override; |
| 48 AudioInputStream* MakeLinearInputStream( | 49 AudioInputStream* MakeLinearInputStream( |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 99 |
| 99 // Listen for output device changes. | 100 // Listen for output device changes. |
| 100 std::unique_ptr<AudioDeviceListenerWin> output_device_listener_; | 101 std::unique_ptr<AudioDeviceListenerWin> output_device_listener_; |
| 101 | 102 |
| 102 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); | 103 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace media | 106 } // namespace media |
| 106 | 107 |
| 107 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 108 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
| OLD | NEW |