Search
lxdream.org :: lxdream :: r242:04f5cdb68d8e
lxdream 0.9.1
released Jun 29
Download Now
changeset242:04f5cdb68d8e
parent241:776e46e58d6d
child243:df1671d533bf
authornkeynes
dateFri Dec 15 10:19:49 2006 +0000 (13 years ago)
Set the audio buffer to 1/20 second rather than 1 second (this is actually
starting to become relevant)
src/aica/audio.c
1.1 --- a/src/aica/audio.c Fri Dec 15 10:19:06 2006 +0000
1.2 +++ b/src/aica/audio.c Fri Dec 15 10:19:49 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.c,v 1.6 2006-03-16 12:41:59 nkeynes Exp $
1.6 + * $Id: audio.c,v 1.7 2006-12-15 10:19:49 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 1000
1.15 +#define MS_PER_BUFFER 50
1.16
1.17 #define BUFFER_EMPTY 0
1.18 #define BUFFER_WRITING 1
.