1 #ifndef lint 2 static char rcsid[] = 3 "$Id: speed.c,v 1.1 1997/02/28 14:02:29 tommy Exp $"; 4 #endif 5 6 #include <fcntl.h> 7 #include <sys/soundcard.h> 8 9 #include "play.h" 10 11 int set_speed(int fd, int dsp_speed) 12 { 13 return ioctl(fd, SNDCTL_DSP_SPEED, &dsp_speed); 14 } 15