From 5b8989b12eda80feb7c419fe966430d1aad37319 Mon Sep 17 00:00:00 2001 From: Super User Date: Tue, 25 Sep 2007 12:50:21 +0200 Subject: audio recording fix by Xuan --- port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'port.h') diff --git a/port.h b/port.h index 23b9986..abaf992 100644 --- a/port.h +++ b/port.h @@ -187,7 +187,7 @@ class Port int p_record_skip; /* skip bytes before writing the sample */ unsigned long p_record_length; /* size of what's written so far */ - unsigned char p_record_buffer[RECORD_BUFFER_LENGTH]; + unsigned short p_record_buffer[RECORD_BUFFER_LENGTH]; unsigned long p_record_buffer_readp; unsigned long p_record_buffer_writep; int p_record_buffer_dir; /* current direction in buffer */ -- cgit v1.2.3-55-g7522