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