--- sourceforge.net/trunk/rdesktop/rdpsnd_libao.c 2005/08/24 11:31:58 986 +++ sourceforge.net/trunk/rdesktop/rdpsnd_libao.c 2006/02/08 13:35:35 1045 @@ -28,7 +28,7 @@ #include #define MAX_QUEUE 10 -#define WAVEOUTBUF 64 +#define WAVEOUTBUF 16 int g_dsp_fd; ao_device *o_device = NULL; @@ -175,7 +175,7 @@ { struct audio_packet *packet; STREAM out; - unsigned char outbuf[WAVEOUTBUF]; + char outbuf[WAVEOUTBUF]; int offset, len, i; static long prev_s, prev_us; unsigned int duration; @@ -240,7 +240,7 @@ out->p += len; } - ao_play(o_device, (char *) outbuf, len); + ao_play(o_device, outbuf, len); gettimeofday(&tv, NULL);