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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
10 #include "base/sync_socket.h" | 10 #include "base/sync_socket.h" |
11 #include "base/threading/simple_thread.h" | 11 #include "base/threading/simple_thread.h" |
12 #include "media/base/audio_bus.h" | 12 #include "media/base/audio_bus.h" |
13 #include "ppapi/c/ppb_audio.h" | 13 #include "ppapi/c/ppb_audio.h" |
14 #include "ppapi/shared_impl/resource.h" | 14 #include "ppapi/shared_impl/resource.h" |
15 #include "ppapi/thunk/ppb_audio_api.h" | 15 #include "ppapi/thunk/ppb_audio_api.h" |
16 | 16 |
17 #if defined(OS_NACL) | 17 #if defined(OS_NACL) |
18 #include "native_client/src/untrusted/irt/irt_ppapi.h" | 18 #include "native_client/src/untrusted/irt/irt_ppapi.h" |
19 #endif | 19 #endif |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // Internal buffer for client's integer audio data. | 110 // Internal buffer for client's integer audio data. |
111 int client_buffer_size_bytes_; | 111 int client_buffer_size_bytes_; |
112 scoped_ptr<uint8_t[]> client_buffer_; | 112 scoped_ptr<uint8_t[]> client_buffer_; |
113 | 113 |
114 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Shared); | 114 DISALLOW_COPY_AND_ASSIGN(PPB_Audio_Shared); |
115 }; | 115 }; |
116 | 116 |
117 } // namespace ppapi | 117 } // namespace ppapi |
118 | 118 |
119 #endif // PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ | 119 #endif // PPAPI_SHARED_IMPL_PPB_AUDIO_SHARED_H_ |
OLD | NEW |