3 --- get_local_stream.c.orig Tue Nov 21 04:03:45 2000
6 #ifdef SOUNDCARD_SUPPORT
7 fprintf(stderr,"Initialising Soundcard\n");
10 + if((g_conf.audio_fd=open("/dev/sound",O_RDWR))==-1)
12 if((g_conf.audio_fd=open("/dev/dsp",O_RDWR))==-1)
14 fatal("Failed to open sound device");
16 /* see if the card can do full_duplex */
18 #ifdef SOUNDCARD_SUPPORT
19 write_message("Opening Soundcard",1);
22 + if((g_conf.audio_fd=open("/dev/sound",flags))==-1)
24 if((g_conf.audio_fd=open("/dev/dsp",flags))==-1)
26 fatal("Failed to open sound device");
28 if(g_conf.full_duplex)