|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Media-player-like control layer for a pipeline. More...
#include <zephyr/kernel.h>#include <zephyr/zbus/zbus.h>#include <zephyr/mpipe/mpipe_message.h>#include <zephyr/mpipe/mpipe_pipeline.h>Go to the source code of this file.
Data Structures | |
| struct | mpipe_player |
| Player instance. More... | |
Functions | |
| int | mpipe_player_init (struct mpipe_player *player, struct mpipe *pipeline) |
| Initialize a player and start its worker thread. | |
| int | mpipe_player_play (struct mpipe_player *player) |
| Request PLAYING. | |
| int | mpipe_player_pause (struct mpipe_player *player) |
| Request PAUSED. | |
| int | mpipe_player_toggle (struct mpipe_player *player) |
| Toggle between PLAYING and PAUSED. | |
| int | mpipe_player_stop (struct mpipe_player *player) |
| Request READY. | |
| int | mpipe_player_replay (struct mpipe_player *player) |
| Restart playback from the beginning. | |
| int | mpipe_player_quit (struct mpipe_player *player) |
| Ask the worker to stop the pipeline and exit. | |
| int | mpipe_player_wait_quit (struct mpipe_player *player) |
| Block until the player worker exits. | |
| int | mpipe_player_deinit (struct mpipe_player *player) |
| Wait for the worker to exit and release the player's resources. | |
Media-player-like control layer for a pipeline.