Chromium Code Reviews| 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 "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 85 const AudioParameters& params, | 85 const AudioParameters& params, |
| 86 const std::string& device_id); | 86 const std::string& device_id); |
| 87 | 87 |
| 88 // Helper methods for performing expensive initialization tasks on the audio | 88 // Helper methods for performing expensive initialization tasks on the audio |
| 89 // thread instead of on the UI thread which AudioManager is constructed on. | 89 // thread instead of on the UI thread which AudioManager is constructed on. |
| 90 void InitializeOnAudioThread(); | 90 void InitializeOnAudioThread(); |
| 91 | 91 |
| 92 void GetAudioDeviceNamesImpl(bool input, AudioDeviceNames* device_names); | 92 void GetAudioDeviceNamesImpl(bool input, AudioDeviceNames* device_names); |
| 93 | 93 |
| 94 // Listen for output device changes. | 94 // Listen for output device changes. |
| 95 scoped_ptr<AudioDeviceListenerWin> output_device_listener_; | 95 std::unique_ptr<AudioDeviceListenerWin> output_device_listener_; |
|
danakj
2016/04/22 22:47:37
include memory
dcheng
2016/04/22 23:13:21
Done.
| |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); | 97 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 } // namespace media | 100 } // namespace media |
| 101 | 101 |
| 102 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 102 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
| OLD | NEW |