OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
11 | 11 |
12 #define PPB_AUDIO_TRUSTED_DEV_INTERFACE "PPB_AudioTrusted(Dev);0.3" | 12 #define PPB_AUDIO_TRUSTED_DEV_INTERFACE "PPB_AudioTrusted(Dev);0.3" |
13 | 13 |
14 /** | 14 /** |
(...skipping 24 matching lines...) Expand all Loading... |
39 | 39 |
40 /** | 40 /** |
41 * Get the shared memory interface. Use once Open has completed. | 41 * Get the shared memory interface. Use once Open has completed. |
42 * Returns PP_OK on success. | 42 * Returns PP_OK on success. |
43 */ | 43 */ |
44 int32_t (*GetSharedMemory)(PP_Resource audio, | 44 int32_t (*GetSharedMemory)(PP_Resource audio, |
45 int* shm_handle, | 45 int* shm_handle, |
46 uint32_t* shm_size); | 46 uint32_t* shm_size); |
47 }; | 47 }; |
48 | 48 |
49 #endif // PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ | 49 #endif /* PPAPI_C_DEV_PPB_AUDIO_TRUSTED_DEV_H_ */ |
| 50 |
OLD | NEW |