2008-02-22 09:09:46 +00:00
|
|
|
#ifndef MPLAYER_MP_FIFO_H
|
|
|
|
#define MPLAYER_MP_FIFO_H
|
2007-03-29 17:21:17 +00:00
|
|
|
|
2008-04-29 12:12:19 +00:00
|
|
|
struct mp_fifo;
|
2008-04-29 09:55:23 +00:00
|
|
|
int mplayer_get_key(void *ctx, int fd);
|
2008-04-29 12:12:19 +00:00
|
|
|
void mplayer_put_key(struct mp_fifo *fifo, int code);
|
|
|
|
// Can be freed with talloc_free()
|
2008-04-29 12:44:03 +00:00
|
|
|
struct MPOpts;
|
|
|
|
struct mp_fifo *mp_fifo_create(struct MPOpts *opts);
|
|
|
|
|
2008-04-29 12:12:19 +00:00
|
|
|
|
|
|
|
#ifdef IS_OLD_VO
|
|
|
|
#define mplayer_put_key(key) mplayer_put_key(global_vo->key_fifo, key)
|
|
|
|
#endif
|
2007-03-29 17:21:17 +00:00
|
|
|
|
2008-02-22 09:09:46 +00:00
|
|
|
#endif /* MPLAYER_MP_FIFO_H */
|