1 --- doomlegacy_src/linux_x/musserv/sequencer.c.orig Sat Feb 22 21:25:59 2003
2 +++ doomlegacy_src/linux_x/musserv/sequencer.c Sat Feb 22 21:27:23 2003
6 sndstat = fopen("/dev/sndstat", "r");
9 - printf("musserver: could not open /dev/sndstat, exiting.\n");
12 + if (sndstat != NULL) {
13 fgets(sndver, 100, sndstat);
14 for (x = 0; x < strlen(sndver); x++)
18 voxdate = atoi(snddate);
21 + voxdate = 0; /* kernel 2.4 doesn't have sndstat */
24 voices = malloc(sinfo[seq_dev].nr_voices * sizeof(struct synth_voice));
25 for (x = 0; x < sinfo[seq_dev].nr_voices; x++)