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 REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ |
| 6 #define REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ |
| 7 |
5 #include <audioclient.h> | 8 #include <audioclient.h> |
6 #include <mmdeviceapi.h> | 9 #include <mmdeviceapi.h> |
7 | 10 |
8 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
10 #include "base/timer.h" | 13 #include "base/timer.h" |
11 #include "base/win/scoped_co_mem.h" | 14 #include "base/win/scoped_co_mem.h" |
12 #include "base/win/scoped_com_initializer.h" | 15 #include "base/win/scoped_com_initializer.h" |
13 #include "base/win/scoped_comptr.h" | 16 #include "base/win/scoped_comptr.h" |
14 #include "remoting/host/audio_capturer.h" | 17 #include "remoting/host/audio_capturer.h" |
(...skipping 30 matching lines...) Expand all Loading... |
45 base::win::ScopedComPtr<IAudioClient> audio_client_; | 48 base::win::ScopedComPtr<IAudioClient> audio_client_; |
46 base::win::ScopedComPtr<IMMDevice> mm_device_; | 49 base::win::ScopedComPtr<IMMDevice> mm_device_; |
47 scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; | 50 scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; |
48 | 51 |
49 base::ThreadChecker thread_checker_; | 52 base::ThreadChecker thread_checker_; |
50 | 53 |
51 DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin); | 54 DISALLOW_COPY_AND_ASSIGN(AudioCapturerWin); |
52 }; | 55 }; |
53 | 56 |
54 } // namespace remoting | 57 } // namespace remoting |
| 58 |
| 59 #endif // REMOTING_HOST_AUDIO_CAPTURER_WIN_H_ |
OLD | NEW |