CVS: rdesktop rdpsnd_libao.c,1.11,1.12

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

Modified Files:
	rdpsnd_libao.c 
Log Message:
use signed char resample buffer instead of unsigned


Index: rdpsnd_libao.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_libao.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** rdpsnd_libao.c	24 Aug 2005 11:31:58 -0000	1.11
--- rdpsnd_libao.c	7 Feb 2006 16:21:31 -0000	1.12
***************
*** 176,180 ****
  	struct audio_packet *packet;
  	STREAM out;
! 	unsigned char outbuf[WAVEOUTBUF];
  	int offset, len, i;
  	static long prev_s, prev_us;
--- 176,180 ----
  	struct audio_packet *packet;
  	STREAM out;
! 	char outbuf[WAVEOUTBUF];
  	int offset, len, i;
  	static long prev_s, prev_us;
***************
*** 241,245 ****
  	}
  
! 	ao_play(o_device, (char *) outbuf, len);
  
  	gettimeofday(&tv, NULL);
--- 241,245 ----
  	}
  
! 	ao_play(o_device, outbuf, len);
  
  	gettimeofday(&tv, NULL);



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
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.