summaryrefslogtreecommitdiffstats
path: root/port.h
diff options
context:
space:
mode:
authorSuper User2007-09-25 12:50:21 +0200
committerSuper User2007-09-25 12:50:21 +0200
commit5b8989b12eda80feb7c419fe966430d1aad37319 (patch)
tree83a314e5e06226005c222c494848330613657682 /port.h
parentadded port# to log-file (diff)
downloadlcr-5b8989b12eda80feb7c419fe966430d1aad37319.tar.gz
lcr-5b8989b12eda80feb7c419fe966430d1aad37319.tar.xz
lcr-5b8989b12eda80feb7c419fe966430d1aad37319.zip
audio recording fix by Xuan
Diffstat (limited to 'port.h')
-rw-r--r--port.h2
1 files changed, 1 insertions, 1 deletions
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 */