|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Player instance. More...
#include <mpipe_player.h>
Data Fields | |
| struct mpipe * | pipeline |
| Controlled pipeline. | |
| struct k_msgq | cmd_q |
| Command queue feeding the worker thread. | |
| char | cmd_buf [CONFIG_MPIPE_PLAYER_CMD_QUEUE_DEPTH *sizeof(struct mpipe_player_cmd_msg)] |
| Backing buffer for the command queue. | |
| uint8_t | run_id |
| Run counter, bumped by the worker each time a run starts. | |
| struct mpipe_message | last_error |
| Last error the bus listener saw, reported by the worker. | |
| struct k_thread | worker |
| Worker thread control block. | |
| struct k_sem | exited |
| Signaled by the worker just before it exits. | |
Player instance.
All fields are for internal use; treat the struct as opaque and only pass a pointer to the mpipe_player_*() API.
| char mpipe_player::cmd_buf[CONFIG_MPIPE_PLAYER_CMD_QUEUE_DEPTH *sizeof(struct mpipe_player_cmd_msg)] |
Backing buffer for the command queue.
| struct k_msgq mpipe_player::cmd_q |
Command queue feeding the worker thread.
| struct k_sem mpipe_player::exited |
Signaled by the worker just before it exits.
| struct mpipe_message mpipe_player::last_error |
Last error the bus listener saw, reported by the worker.
| struct mpipe* mpipe_player::pipeline |
Controlled pipeline.
| uint8_t mpipe_player::run_id |
Run counter, bumped by the worker each time a run starts.
| struct k_thread mpipe_player::worker |
Worker thread control block.