diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-21 05:53:58 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-21 05:53:58 +0100 |
commit | 4c833aad4d3dcef303b34b70f86bb1e98153dc97 (patch) | |
tree | 4a118bd5f5c21ada0b9a2747d7ca5dcd81a2596f /plugins/media/media-api.h | |
parent | 9c066241bc2c1195f1bee5c17b39b023d257bd9e (diff) |
Add choose, play, pause, stop to Media Plugin
We can now play/pause/stop a track after having chosen its
index number (default is 0).
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/media/media-api.h')
-rw-r--r-- | plugins/media/media-api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/media/media-api.h b/plugins/media/media-api.h index ae19a311..70dcc1e6 100644 --- a/plugins/media/media-api.h +++ b/plugins/media/media-api.h @@ -26,6 +26,7 @@ /* private client context [will be destroyed when client leaves] */ typedef struct { void *media_server; /* handle to implementation (Rygel...) */ + unsigned int index; /* currently selected media file */ } mediaCtxHandleT; PUBLIC char* _rygel_list (mediaCtxHandleT *); |