CVS: rdesktop rdpsnd_sgi.c,1.5,1.6

Peter Åstrand <[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-serv27147

Modified Files:
	rdpsnd_sgi.c 
Log Message:
Indent fixes

Index: rdpsnd_sgi.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_sgi.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** rdpsnd_sgi.c	30 Apr 2005 09:13:13 -0000	1.5
--- rdpsnd_sgi.c	7 Jun 2005 11:10:13 -0000	1.6
***************
*** 161,168 ****
  
  	/* 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. */
  
  	channels = pwfx->nChannels;
--- 161,168 ----
  
  	/* 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. */
  
  	channels = pwfx->nChannels;
***************
*** 171,175 ****
  	alSetSampFmt(audioconfig, AL_SAMPFMT_TWOSCOMP);
  	alSetWidth(audioconfig, width);
! 	if ( channels != alGetChannels(audioconfig) )
  	{
  		alClosePort(output_port);
--- 171,175 ----
  	alSetSampFmt(audioconfig, AL_SAMPFMT_TWOSCOMP);
  	alSetWidth(audioconfig, width);
! 	if (channels != alGetChannels(audioconfig))
  	{
  		alClosePort(output_port);
***************
*** 180,184 ****
  		{
  			fprintf(stderr, "wave_out_set_format: alOpenPort failed: %s\n",
! 							alGetErrorString(oserror()));
  			return False;
  		}
--- 180,184 ----
  		{
  			fprintf(stderr, "wave_out_set_format: alOpenPort failed: %s\n",
! 				alGetErrorString(oserror()));
  			return False;
  		}
***************
*** 320,324 ****
  		{
  			gf = alGetFilled(output_port);
! 			if ( gf < (4 * maxFillable / 10) )
  			{
  				rdpsnd_send_completion(packet->tick, packet->index);
--- 320,324 ----
  		{
  			gf = alGetFilled(output_port);
! 			if (gf < (4 * maxFillable / 10))
  			{
  				rdpsnd_send_completion(packet->tick, packet->index);



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
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.