summaryrefslogtreecommitdiff
path: root/src/playit.h
blob: 6fd9ddfd2b01916b1b1b032480ec5d9b3e805c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
© All Rights Reserved