Search
lxdream.org :: lxdream/src/aica/audio.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/audio.c
changeset 431:248dd77a9e44
prev242:04f5cdb68d8e
next434:8af49a412d92
author nkeynes
date Tue Oct 09 08:12:29 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/aica/audio.c Fri Dec 15 10:19:49 2006 +0000
1.2 +++ b/src/aica/audio.c Tue Oct 09 08:12:29 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio.c,v 1.7 2006-12-15 10:19:49 nkeynes Exp $
1.6 + * $Id: audio.c,v 1.8 2007-10-09 08:11:51 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 @@ -75,7 +75,7 @@
1.11 bytes_per_sample <<= 1;
1.12 if( samplerate == audio.output_rate &&
1.13 bytes_per_sample == audio.output_sample_size )
1.14 - return;
1.15 + return TRUE;
1.16 samples_per_buffer = (samplerate * MS_PER_BUFFER / 1000);
1.17 for( i=0; i<NUM_BUFFERS; i++ ) {
1.18 if( audio.output_buffers[i] != NULL )
.