View Single Post
Old 27 January 2005, 06:26 pm   #4
kuniklo
Senior Member
 
kuniklo's Avatar
 
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
Default

Quote:
Changing line 86 in requant.c to
Code:
#define SET_SCF(N,X) d->SCF[N] = MAKE_MPC_SAMPLE_EX(X,d->SCF_shift[N] = (unsigned char)find_shift(X));
seems to do the trick and doesn't break floating point either. Sounds correct to my ears.

Also, sample is a *lot* slower when writing to a wav file (16.66x in benchmark mode vs. 6.85x when writing on my crummy VIA C3). Is WavWriter really that slow?
Thanks for the fix! I'll apply it when I'm home later.

I wouldn't be surprised if the WavWriter slows things down that much, actually.
kuniklo is offline   Reply With Quote