From 985a1155ea20d5f4e9903d8985f141eb217dcdb8 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Tue, 7 Feb 2006 16:21:31 +0000 Subject: [PATCH] use signed char resample buffer instead of unsigned git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1042 423420c4-83ab-492f-b58f-81f9feb106b5 --- rdpsnd_libao.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdpsnd_libao.c b/rdpsnd_libao.c index 2ee5678..5bb3e79 100644 --- a/rdpsnd_libao.c +++ b/rdpsnd_libao.c @@ -175,7 +175,7 @@ wave_out_play(void) { 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 @@ wave_out_play(void) out->p += len; } - ao_play(o_device, (char *) outbuf, len); + ao_play(o_device, outbuf, len); gettimeofday(&tv, NULL);