| 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 | 5 |
| 6 /* From private/ppb_content_decryptor_private.idl, | 6 /* From private/ppb_content_decryptor_private.idl, |
| 7 * modified Tue Sep 17 11:31:05 2013. | 7 * modified Thu Oct 10 14:49:51 2013. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 #ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ | 10 #ifndef PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ |
| 11 #define PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ | 11 #define PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ |
| 12 | 12 |
| 13 #include "ppapi/c/pp_bool.h" | 13 #include "ppapi/c/pp_bool.h" |
| 14 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
| 15 #include "ppapi/c/pp_macros.h" | 15 #include "ppapi/c/pp_macros.h" |
| 16 #include "ppapi/c/pp_resource.h" | 16 #include "ppapi/c/pp_resource.h" |
| 17 #include "ppapi/c/pp_stdint.h" | 17 #include "ppapi/c/pp_stdint.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 * For example, with three audio output buffers, |audio_frames| will look | 227 * For example, with three audio output buffers, |audio_frames| will look |
| 228 * like this: | 228 * like this: |
| 229 * | 229 * |
| 230 * |<---------------- audio_frames ------------------>| | 230 * |<---------------- audio_frames ------------------>| |
| 231 * | audio buffer 0 | audio buffer 1 | audio buffer 2 | | 231 * | audio buffer 0 | audio buffer 1 | audio buffer 2 | |
| 232 * | 232 * |
| 233 * @param[in] audio_frames A <code>PP_Resource</code> corresponding to a | 233 * @param[in] audio_frames A <code>PP_Resource</code> corresponding to a |
| 234 * <code>PPB_Buffer_Dev</code> resource that contains a decrypted buffer | 234 * <code>PPB_Buffer_Dev</code> resource that contains a decrypted buffer |
| 235 * of decoded audio samples. | 235 * of decoded audio samples. |
| 236 * | 236 * |
| 237 * @param[in] decrypted_block_info A <code>PP_DecryptedBlockInfo</code> that | 237 * @param[in] decrypted_sample_info A <code>PP_DecryptedSampleInfo</code> that |
| 238 * contains the tracking info and result code associated with the | 238 * contains the tracking info and result code associated with the decrypted |
| 239 * <code>decrypted_block</code>. | 239 * samples. |
| 240 */ | 240 */ |
| 241 void (*DeliverSamples)( | 241 void (*DeliverSamples)( |
| 242 PP_Instance instance, | 242 PP_Instance instance, |
| 243 PP_Resource audio_frames, | 243 PP_Resource audio_frames, |
| 244 const struct PP_DecryptedBlockInfo* decrypted_block_info); | 244 const struct PP_DecryptedSampleInfo* decrypted_sample_info); |
| 245 }; | 245 }; |
| 246 | 246 |
| 247 typedef struct PPB_ContentDecryptor_Private_0_7 PPB_ContentDecryptor_Private; | 247 typedef struct PPB_ContentDecryptor_Private_0_7 PPB_ContentDecryptor_Private; |
| 248 /** | 248 /** |
| 249 * @} | 249 * @} |
| 250 */ | 250 */ |
| 251 | 251 |
| 252 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ | 252 #endif /* PPAPI_C_PRIVATE_PPB_CONTENT_DECRYPTOR_PRIVATE_H_ */ |
| 253 | 253 |
| OLD | NEW |