Example #1
0
char* default_rec(struct ir_remote* remotes)
{
	if (!rec_buffer_clear()) {
		default_deinit();
		return NULL;
	}
	return decode_all(remotes);
}
Example #2
0
static char* ati_rec(struct ir_remote* remotes)
{
	if (!rec_buffer_clear()) {
		ati_deinit();
		return NULL;
	}
	return decode_all(remotes);
}
Example #3
0
static char* uirt2_raw_rec(struct ir_remote* remotes)
{
	log_trace("uirt2_raw_rec");
	log_trace("uirt2_raw_rec: %p", remotes);

	if (!rec_buffer_clear())
		return NULL;

	if (remotes) {
		char* res;

		res = decode_all(remotes);
		return res;
	}
	lirc_t data;

	queue_clear();
	data = uirt2_read_raw(dev, 1);
	if (data)
		queue_put(data);
	return NULL;
}
Example #4
0
File: ftdi.c Project: andyvand/LIRC
static char* hwftdi_rec(struct ir_remote* remotes)
{
	if (!rec_buffer_clear())
		return NULL;
	return decode_all(remotes);
}