5 #ifndef PPAPI_CPP_SAMSUNG_SOURCE_BUFFER_SAMSUNG_H_
6 #define PPAPI_CPP_SAMSUNG_SOURCE_BUFFER_SAMSUNG_H_
8 #include "ppapi/c/pp_array_output.h"
9 #include "ppapi/c/samsung/pp_media_source_samsung.h"
10 #include "ppapi/cpp/completion_callback.h"
11 #include "ppapi/cpp/resource.h"
12 #include "ppapi/cpp/var.h"
63 #endif // PPAPI_CPP_SAMSUNG_SOURCE_BUFFER_SAMSUNG_H_
int32_t ReadTimeRanges(const CompletionCallbackWithOutput< std::vector< PP_TimeRange > > &callback)
ReadS ranges of buffered media stream. The execution may resume from the |callback|.
int32_t Abort(const CompletionCallback &callback)
int32_t IsSourceActive(const CompletionCallbackWithOutput< PP_Bool > &callback)
PPB_SourceBuffer_Samsung API.
int32_t Append(const void *data, uint32_t bytes_to_append, const CompletionCallback &callback)
int32_t SetTimestampOffset(PP_MicrosecondsDelta offset, const CompletionCallback &callback)
int32_t GetTimestampOffset(const CompletionCallbackWithOutput< PP_MicrosecondsDelta > &callback)
Gets offset in microseconds of selected stream. The execution may resume from the |callback|...
A reference counted module resource.
virtual ~SourceBuffer_Samsung()
Destructor.