CVS: rdesktop rdpsnd_libao.c,1.25,1.26

Michael Gernoth <[email protected]> Sun, 01 Oct 2006 15:30:36 -0700
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16271

Modified Files:
	rdpsnd_libao.c 
Log Message:
rename WAVEOUTBUF to WAVEOUTLEN and increase it to 1024 bytes


Index: rdpsnd_libao.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_libao.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** rdpsnd_libao.c	1 Oct 2006 22:27:11 -0000	1.25
--- rdpsnd_libao.c	1 Oct 2006 22:30:34 -0000	1.26
***************
*** 30,34 ****
  #include <sys/time.h>
  
! #define WAVEOUTBUF	512
  
  static ao_device *o_device = NULL;
--- 30,34 ----
  #include <sys/time.h>
  
! #define WAVEOUTLEN	1024
  
  static ao_device *o_device = NULL;
***************
*** 149,153 ****
  	next_tick = rdpsnd_queue_next_tick();
  
! 	len = (WAVEOUTBUF > (out->end - out->p)) ? (out->end - out->p) : WAVEOUTBUF;
  	ao_play(o_device, (char *) out->p, len);
  	out->p += len;
--- 149,153 ----
  	next_tick = rdpsnd_queue_next_tick();
  
! 	len = (WAVEOUTLEN > (out->end - out->p)) ? (out->end - out->p) : WAVEOUTLEN;
  	ao_play(o_device, (char *) out->p, len);
  	out->p += len;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV