view input/lirc.h @ 26094:2b4e40be7cb0

Support switching to/from nosound in demux_lavf. Also fixes a bug when pstreams[-1] could be accessed. It happens when switching audio tracks if mplayer was run with '-nosound'.
author eugeni
date Fri, 29 Feb 2008 17:25:57 +0000
parents 4129c8cfa742
children 142c53391eb7
line wrap: on
line source

#ifndef MPLAYER_LIRC_H
#define MPLAYER_LIRC_H

int 
mp_input_lirc_init(void);

int
mp_input_lirc_read(int fd,char* dest, int s);

void
mp_input_lirc_close(int fd);

#endif /* MPLAYER_LIRC_H */