diff options
Diffstat (limited to 'src/playit.h')
-rw-r--r-- | src/playit.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/playit.h b/src/playit.h new file mode 100644 index 0000000..6fd9ddf --- /dev/null +++ b/src/playit.h @@ -0,0 +1,13 @@ +#ifndef _PLAYIT_H +#define _PLAYIT_H + +#define PLAYIT_FLAG_SEEKABLE 1 + +typedef struct playit_t playit_t; + +playit_t * playit_open_file(const char *file, unsigned flags); +unsigned playit_seek(playit_t *playit, unsigned frame); +int playit_update(playit_t *playit, void *buf, int len, unsigned *res_frame); +void playit_destroy(playit_t *playit); + +#endif |