Comment and warning

This commit is contained in:
simon.kagstrom 2009-01-05 13:10:46 +00:00
parent 3f0e81b274
commit ec78d92547

View File

@ -129,6 +129,8 @@ void PlaySound( int16_t *Buffer, int count )
level = IRQ_Disable(); level = IRQ_Disable();
for( i = 0; i < count; i++ ) for( i = 0; i < count; i++ )
{ {
/* FIXME simonk: 8192 is a Frodo artifact. Not sure why this
* is needed */
sample = (Buffer[i] & 0xffff) + 8192; sample = (Buffer[i] & 0xffff) + 8192;
dst[mixhead++] = sample | ( sample << 16); dst[mixhead++] = sample | ( sample << 16);
if (mixhead == 4000) if (mixhead == 4000)