|
libiio
|
Classes | |
| struct | iio_stream |
| A helper object to simplify reading/writing to a iio_buffer. More... | |
Functions | |
| __api __check_ret struct iio_stream * | iio_buffer_create_stream (struct iio_buffer *buffer, size_t nb_blocks, size_t samples_count) |
| Create a iio_stream object for the given iio_buffer. More... | |
| __api void | iio_stream_destroy (struct iio_stream *stream) |
| Destroy the given stream object. More... | |
| __api __check_ret const struct iio_block * | iio_stream_get_next_block (struct iio_stream *stream) |
| Get a pointer to the next data block. More... | |
| __api __check_ret struct iio_stream* iio_buffer_create_stream | ( | struct iio_buffer * | buffer, |
| size_t | nb_blocks, | ||
| size_t | samples_count | ||
| ) |
Create a iio_stream object for the given iio_buffer.
| buffer | A pointer to an iio_buffer structure |
| nb_blocks | The number of iio_block objects to create, internally. In doubt, a good value is 4. |
| samples_count | The size of the iio_block objects, in samples |
| __api void iio_stream_destroy | ( | struct iio_stream * | stream | ) |
Destroy the given stream object.
| stream | A pointer to an iio_stream structure |
| __api __check_ret const struct iio_block* iio_stream_get_next_block | ( | struct iio_stream * | stream | ) |
Get a pointer to the next data block.
| stream | A pointer to an iio_stream structure |
1.8.13