CVS: rdesktop rdpsnd_oss.c,1.8,1.9

Michael Gernoth <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23120

Modified Files:
	rdpsnd_oss.c 
Log Message:
add $AUDIODEV support to oss-driver


Index: rdpsnd_oss.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_oss.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** rdpsnd_oss.c	29 Oct 2003 14:14:46 -0000	1.8
--- rdpsnd_oss.c	13 Aug 2004 09:43:31 -0000	1.9
***************
*** 46,50 ****
  wave_out_open(void)
  {
! 	char *dsp_dev = "/dev/dsp";
  
  	if ((g_dsp_fd = open(dsp_dev, O_WRONLY | O_NONBLOCK)) == -1)
--- 46,55 ----
  wave_out_open(void)
  {
! 	char *dsp_dev = getenv("AUDIODEV");
! 
! 	if (dsp_dev == NULL)
! 	{
! 		dsp_dev = "/dev/dsp";
! 	}
  
  	if ((g_dsp_fd = open(dsp_dev, O_WRONLY | O_NONBLOCK)) == -1)



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.