return NULL;
}
newlength = per_sfx->format.speed * factor; // -> 1 sec of sound before resampling
+ if(newlength > sizeof(resampling_buffer))
+ newlength = sizeof(resampling_buffer);
// Decompress in the resampling_buffer
#if BYTE_ORDER == BIG_ENDIAN