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_AUDIO_DEVICE_THREAD_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
6 #define MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ | 6 #define MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
12 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
13 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
14 #include "media/audio/audio_parameters.h" | 16 #include "media/audio/audio_parameters.h" |
15 #include "media/base/media_export.h" | 17 #include "media/base/media_export.h" |
16 | 18 |
17 namespace base { | 19 namespace base { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 109 |
108 base::Lock thread_lock_; | 110 base::Lock thread_lock_; |
109 scoped_refptr<AudioDeviceThread::Thread> thread_; | 111 scoped_refptr<AudioDeviceThread::Thread> thread_; |
110 | 112 |
111 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); | 113 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); |
112 }; | 114 }; |
113 | 115 |
114 } // namespace media. | 116 } // namespace media. |
115 | 117 |
116 #endif // MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ | 118 #endif // MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
OLD | NEW |