10 #ifndef PPAPI_C_SAMSUNG_PPB_SOURCE_BUFFER_SAMSUNG_H_
11 #define PPAPI_C_SAMSUNG_PPB_SOURCE_BUFFER_SAMSUNG_H_
13 #include "ppapi/c/pp_array_output.h"
14 #include "ppapi/c/pp_bool.h"
15 #include "ppapi/c/pp_completion_callback.h"
16 #include "ppapi/c/pp_macros.h"
17 #include "ppapi/c/pp_resource.h"
18 #include "ppapi/c/pp_stdint.h"
19 #include "ppapi/c/samsung/pp_media_common_samsung.h"
21 #define PPB_SOURCEBUFFER_SAMSUNG_INTERFACE_0_10 "PPB_SourceBuffer_Samsung;0.10"
22 #define PPB_SOURCEBUFFER_SAMSUNG_INTERFACE \
23 PPB_SOURCEBUFFER_SAMSUNG_INTERFACE_0_10
67 uint32_t bytes_to_append,
int32_t(* Abort)(PP_Resource buffer, struct PP_CompletionCallback callback)
int32_t(* GetTimestampOffset)(PP_Resource buffer, PP_MicrosecondsDelta *output, struct PP_CompletionCallback callback)
int64_t PP_MicrosecondsDelta
int32_t(* Append)(PP_Resource buffer, const void *data, uint32_t bytes_to_append, struct PP_CompletionCallback callback)
int32_t(* SetTimestampOffset)(PP_Resource buffer, PP_MicrosecondsDelta offset, struct PP_CompletionCallback callback)
PP_Bool(* IsSourceBuffer)(PP_Resource resource)
int32_t(* ReadTimeRanges)(PP_Resource buffer, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)
int32_t(* IsSourceActive)(PP_Resource buffer, PP_Bool *active, struct PP_CompletionCallback callback)