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> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
14 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
15 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
16 #include "media/audio/audio_parameters.h" | 16 #include "media/base/audio_parameters.h" |
17 #include "media/base/media_export.h" | 17 #include "media/base/media_export.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class MessageLoop; | 20 class MessageLoop; |
21 } | 21 } |
22 | 22 |
23 namespace media { | 23 namespace media { |
24 class AudioBus; | 24 class AudioBus; |
25 | 25 |
26 // Data transfer between browser and render process uses a combination | 26 // Data transfer between browser and render process uses a combination |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 base::Lock thread_lock_; | 111 base::Lock thread_lock_; |
112 scoped_refptr<AudioDeviceThread::Thread> thread_; | 112 scoped_refptr<AudioDeviceThread::Thread> thread_; |
113 | 113 |
114 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); | 114 DISALLOW_COPY_AND_ASSIGN(AudioDeviceThread); |
115 }; | 115 }; |
116 | 116 |
117 } // namespace media. | 117 } // namespace media. |
118 | 118 |
119 #endif // MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ | 119 #endif // MEDIA_AUDIO_AUDIO_DEVICE_THREAD_H_ |
OLD | NEW |