View Single Post
Old 27 January 2005, 04:58 pm   #2
kuniklo
Senior Member
 
kuniklo's Avatar
 
Join Date: Aug 2004
Location: Emeryville, CA
Posts: 52
Default Re: fixed point - SCF_shift undefined in requant.h

Quote:
When compiling libmusepack-1.1 in fixed point (done by uncommenting #define MPC_FIXED_POINT in include/musepack/math.h), I get this error during compilation:

Code:
requant.c: In function `mpc_decoder_scale_output':

requant.c:103: error: `SCF_shift' undeclared (first use in this function)
It looks like SCF_shift is in decoder.h. #including it doesn't get rid of the error. Defining SCF_shift in requant.c just results in a decoded file full of noise.
We haven't taken a look at the fixed point stuff recently. I'll check it out tonight and see if I can figure out what's up. Thanks for the bug report.
kuniklo is offline   Reply With Quote