Search
lxdream.org :: lxdream/src/aica/audio.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.c
changeset 79:6d832137fdff
prev73:0bb57e51ac9e
next82:81a4acf75f10
author nkeynes
date Mon Jan 16 11:23:05 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Set base buffer size to 1/10 second
file annotate diff log raw
1.1 --- a/src/aica/audio.c Thu Jan 12 11:30:19 2006 +0000
1.2 +++ b/src/aica/audio.c Mon Jan 16 11:23:05 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.c,v 1.2 2006-01-12 11:30:19 nkeynes Exp $
1.6 + * $Id: audio.c,v 1.3 2006-01-16 11:23:05 nkeynes Exp $
1.7 *
1.8 * Audio mixer core. Combines all the active streams into a single sound
1.9 * buffer for output.
1.10 @@ -25,7 +25,7 @@
1.11 #include <string.h>
1.12
1.13 #define NUM_BUFFERS 3
1.14 -#define MS_PER_BUFFER 500
1.15 +#define MS_PER_BUFFER 100
1.16
1.17 #define BUFFER_EMPTY 0
1.18 #define BUFFER_WRITING 1
1.19 @@ -319,5 +319,4 @@
1.20 audio.channels[channel].adpcm_step = 0;
1.21 audio.channels[channel].adpcm_predict = 0;
1.22 audio.channels[channel].active = TRUE;
1.23 - DEBUG("Channel %d on", channel );
1.24 }
.