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 PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ |
6 #define PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 11 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
10 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
11 #include "base/threading/simple_thread.h" | 15 #include "base/threading/simple_thread.h" |
12 #include "media/base/audio_bus.h" | 16 #include "media/base/audio_bus.h" |
13 #include "ppapi/c/ppb_audio.h" | 17 #include "ppapi/c/ppb_audio.h" |
14 #include "ppapi/c/ppb_audio_config.h" | 18 #include "ppapi/c/ppb_audio_config.h" |
15 #include "ppapi/shared_impl/resource.h" | 19 #include "ppapi/shared_impl/resource.h" |
16 #include "ppapi/thunk/ppb_audio_api.h" | 20 #include "ppapi/thunk/ppb_audio_api.h" |
17 | 21 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 146 |
143 // Buffer index used to coordinate with the browser side audio receiver. | 147 // Buffer index used to coordinate with the browser side audio receiver. |
144 uint32_t buffer_index_; | 148 uint32_t buffer_index_; |
145 | 149 |
146 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Shared); | 150 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Shared); |
147 }; | 151 }; |
148 | 152 |
149 } // namespace ppapi | 153 } // namespace ppapi |
150 | 154 |
151 #endif // PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ | 155 #endif // PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ |
OLD | NEW |