| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "media/audio/audio_manager_base.h" | 10 #include "media/audio/audio_manager_base.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 bool HasAudioOutputDevices() override; | 24 bool HasAudioOutputDevices() override; |
| 25 bool HasAudioInputDevices() override; | 25 bool HasAudioInputDevices() override; |
| 26 base::string16 GetAudioInputDeviceModel() override; | 26 base::string16 GetAudioInputDeviceModel() override; |
| 27 void ShowAudioInputSettings() override; | 27 void ShowAudioInputSettings() override; |
| 28 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; | 28 void GetAudioInputDeviceNames(AudioDeviceNames* device_names) override; |
| 29 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; | 29 void GetAudioOutputDeviceNames(AudioDeviceNames* device_names) override; |
| 30 AudioParameters GetInputStreamParameters( | 30 AudioParameters GetInputStreamParameters( |
| 31 const std::string& device_id) override; | 31 const std::string& device_id) override; |
| 32 std::string GetAssociatedOutputDeviceID( | 32 std::string GetAssociatedOutputDeviceID( |
| 33 const std::string& input_device_id) override; | 33 const std::string& input_device_id) override; |
| 34 std::string GetCommunicationsDeviceName() const override; |
| 34 | 35 |
| 35 // Implementation of AudioManagerBase. | 36 // Implementation of AudioManagerBase. |
| 36 AudioOutputStream* MakeLinearOutputStream( | 37 AudioOutputStream* MakeLinearOutputStream( |
| 37 const AudioParameters& params) override; | 38 const AudioParameters& params) override; |
| 38 AudioOutputStream* MakeLowLatencyOutputStream( | 39 AudioOutputStream* MakeLowLatencyOutputStream( |
| 39 const AudioParameters& params, | 40 const AudioParameters& params, |
| 40 const std::string& device_id) override; | 41 const std::string& device_id) override; |
| 41 AudioInputStream* MakeLinearInputStream( | 42 AudioInputStream* MakeLinearInputStream( |
| 42 const AudioParameters& params, | 43 const AudioParameters& params, |
| 43 const std::string& device_id) override; | 44 const std::string& device_id) override; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 91 |
| 91 // Listen for output device changes. | 92 // Listen for output device changes. |
| 92 scoped_ptr<AudioDeviceListenerWin> output_device_listener_; | 93 scoped_ptr<AudioDeviceListenerWin> output_device_listener_; |
| 93 | 94 |
| 94 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); | 95 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace media | 98 } // namespace media |
| 98 | 99 |
| 99 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 100 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
| OLD | NEW |