Defines | |
#define | L4BLK_INVALID_STREAM (-1) |
Typedefs | |
typedef l4_uint32_t | l4blk_stream_t |
Functions | |
L4_CV int | l4blk_create_stream (l4blk_driver_t driver, l4_uint32_t device, l4_uint32_t bandwidth, l4_uint32_t period, l4_uint32_t blk_size, float q, l4_uint32_t meta_int, l4blk_stream_t *stream) |
Create real-time stream. | |
L4_CV int | l4blk_close_stream (l4blk_driver_t driver, l4blk_stream_t stream) |
Close real-time stream. | |
L4_CV int | l4blk_start_stream (l4blk_driver_t driver, l4blk_stream_t stream, l4_uint32_t time, l4_uint32_t request_no) |
Set start time of real-time stream. |
typedef l4_uint32_t l4blk_stream_t |
L4_CV int l4blk_create_stream | ( | l4blk_driver_t | driver, | |
l4_uint32_t | device, | |||
l4_uint32_t | bandwidth, | |||
l4_uint32_t | period, | |||
l4_uint32_t | blk_size, | |||
float | q, | |||
l4_uint32_t | meta_int, | |||
l4blk_stream_t * | stream | |||
) |
Create real-time stream.
driver | Driver handle | |
device | Device id | |
bandwidth | Stream bandwidth (bytes/s) | |
period | Period length (milliseconds) | |
blk_size | Stream block size (bytes) | |
q | Quality parameter | |
meta_int | Metadata request interval (number of regular requests per metadata request) |
stream | Stream handle |
L4_CV int l4blk_close_stream | ( | l4blk_driver_t | driver, | |
l4blk_stream_t | stream | |||
) |
Close real-time stream.
driver | Driver handle | |
stream | Stream handle |
L4_CV int l4blk_start_stream | ( | l4blk_driver_t | driver, | |
l4blk_stream_t | stream, | |||
l4_uint32_t | time, | |||
l4_uint32_t | request_no | |||
) |
Set start time of real-time stream.
driver | Driver handle | |
stream | Stream handle | |
time | Time (deadline) of first request (milliseconds) | |
request_no | Request number of first request |