CVS: rdesktop rdpsnd_sgi.c,1.6,1.7

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-serv22830

Modified Files:
	rdpsnd_sgi.c 
Log Message:
bugfix from Jeremy Meng <[email protected]>


Index: rdpsnd_sgi.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_sgi.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** rdpsnd_sgi.c	7 Jun 2005 11:10:13 -0000	1.6
--- rdpsnd_sgi.c	26 Jun 2005 22:36:44 -0000	1.7
***************
*** 78,82 ****
  
  	audioconfig = alNewConfig();
! 	if (audioconfig < 0)
  	{
  		fprintf(stderr, "wave_out_open: alNewConfig failed: %s\n",
--- 78,82 ----
  
  	audioconfig = alNewConfig();
! 	if (audioconfig == (ALconfig) 0)
  	{
  		fprintf(stderr, "wave_out_open: alNewConfig failed: %s\n",
***************
*** 160,167 ****
  	}
  
! 	/* Limited support to configure an opened audio port in IRIX The
  	   number of channels is a static setting and can not be changed after
! 	   a port is opened. So if the number of channels remains the same, we
! 	   can configure other settings Otherwise we have to reopen the audio
  	   port, using same config. */
  
--- 160,167 ----
  	}
  
! 	/* Limited support to configure an opened audio port in IRIX.  The
  	   number of channels is a static setting and can not be changed after
! 	   a port is opened.  So if the number of channels remains the same, we
! 	   can configure other settings; otherwise we have to reopen the audio
  	   port, using same config. */
  



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
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.