1 --- doomlegacy-1.32/doomlegacy/linux_x/musserv/sequencer.c.orig Fri May 11 14:55:27 2001
2 +++ doomlegacy-1.32/doomlegacy/linux_x/musserv/sequencer.c Wed Jul 18 17:26:02 2001
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);
22 + 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++)