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 24 matching lines...) Expand all Loading... |
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 | 39 |
40 // Implementation of AudioManagerBase. | 40 // Implementation of AudioManagerBase. |
41 AudioOutputStream* MakeLinearOutputStream( | 41 AudioOutputStream* MakeLinearOutputStream( |
42 const AudioParameters& params) override; | 42 const AudioParameters& params) override; |
43 AudioOutputStream* MakeLowLatencyOutputStream( | 43 AudioOutputStream* MakeLowLatencyOutputStream( |
44 const AudioParameters& params, | 44 const AudioParameters& params, |
45 const std::string& device_id) override; | 45 const std::string& device_id, |
| 46 const StatisticsCallback& statistics_callback) override; |
46 AudioInputStream* MakeLinearInputStream( | 47 AudioInputStream* MakeLinearInputStream( |
47 const AudioParameters& params, | 48 const AudioParameters& params, |
48 const std::string& device_id) override; | 49 const std::string& device_id) override; |
49 AudioInputStream* MakeLowLatencyInputStream( | 50 AudioInputStream* MakeLowLatencyInputStream( |
50 const AudioParameters& params, | 51 const AudioParameters& params, |
51 const std::string& device_id) override; | 52 const std::string& device_id) override; |
52 std::string GetDefaultOutputDeviceID() override; | 53 std::string GetDefaultOutputDeviceID() override; |
53 | 54 |
54 protected: | 55 protected: |
55 ~AudioManagerWin() override; | 56 ~AudioManagerWin() override; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 95 |
95 // Listen for output device changes. | 96 // Listen for output device changes. |
96 std::unique_ptr<AudioDeviceListenerWin> output_device_listener_; | 97 std::unique_ptr<AudioDeviceListenerWin> output_device_listener_; |
97 | 98 |
98 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); | 99 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); |
99 }; | 100 }; |
100 | 101 |
101 } // namespace media | 102 } // namespace media |
102 | 103 |
103 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 104 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
OLD | NEW |