[PD] external for controlling /dev/radio under linux

patrick puredata at 11h11.com
Mon Apr 12 07:49:21 CEST 2004


hi,

i'm looking for an external to control my /dev/radio. i didn't find 
anything on the list archive/google. i have a c source for changing the 
frequency "ie ./fm 89.3". should i use the shell object then? is there a 
performance cost?


http://www.exploits.org/v4l/fmtools/

#include <linux/videodev.h>
...
vt.tuner = tuner;
	ret = ioctl(fd, VIDIOCSTUNER, &vt);	/* set tuner # */
	if (ret < 0) {
		perror("ioctl VIDIOCSTUNER");
		exit(1);
	}
...

patrick




More information about the Pd-list mailing list