fbff: ignore oss device in pause command when no audio
[fbff.git] / ffs.h
blobf5a6d48708f7519e47e06a0809889742b991c98e
1 #define FFS_AUDIO 0x1000
2 #define FFS_VIDEO 0x2000
3 #define FFS_STRIDX 0x0fff
5 void ffs_globinit(void);
7 /* ffmpeg stream */
8 struct ffs *ffs_alloc(char *path, int flags);
9 void ffs_free(struct ffs *ffs);
11 long ffs_pos(struct ffs *ffs, int diff);
12 void ffs_seek(struct ffs *ffs, long pos, int perframe);
13 void ffs_wait(struct ffs *ffs);
14 int ffs_avdiff(struct ffs *ffs, struct ffs *affs);
16 /* audio */
17 void ffs_aconf(struct ffs *ffs);
18 void ffs_ainfo(struct ffs *ffs, int *rate, int *bps, int *ch);
19 int ffs_adec(struct ffs *ffs, void *buf, int blen);
21 /* video */
22 void ffs_vconf(struct ffs *ffs, float zoom, int fbm);
23 void ffs_vinfo(struct ffs *ffs, int *w, int *h);
24 int ffs_vdec(struct ffs *ffs, void **buf);