Helper structure for managing codec data chunks.
More...
#include <r5codec_sample.h>
|
| CodecSample (std::unique_ptr< uint8_t[]> buffer_, uint32_t size_, uint32_t ts_) |
| Construct a new Codec Sample. More...
|
|
|
uint32_t | timestamp = 0 |
| Timestamp for sample.
|
|
uint32_t | size = 0 |
| Size of array in bytes.
|
|
std::unique_ptr< uint8_t[]> | buffer = nullptr |
| Pointer to sample data array.
|
|
Helper structure for managing codec data chunks.
◆ CodecSample()
r5::common::CodecSample::CodecSample |
( |
std::unique_ptr< uint8_t[]> |
buffer_, |
|
|
uint32_t |
size_, |
|
|
uint32_t |
ts_ |
|
) |
| |
|
inline |
Construct a new Codec Sample.
- Parameters
-
buffer_ | Pointer to sample data array |
size_ | Size of array in bytes |
ts_ | Timestamp for sample |
The documentation for this struct was generated from the following file: