Displaying 1 result from an estimated 1 matches for "spx_pi_2".
2004 Aug 06
1
Error in compiling Speexdec code (Speex-1.1.5 code) on Windows using VC++6.0
...ocess.c(974) : error C2143: syntax error : missing ';' before 'type'
error 5.d:\speex\speex-1.1.5\libspeex\preprocess.c(1011) : error C2065: 'i' : undeclared identifier
The source of the error is this function
tatic inline spx_word16_t spx_cos(spx_word16_t x)
{
if (x<SPX_PI_2)
{
x *= x;
return C1 + x*(C2+x*(C3+C4*x));
} else {
x = M_PI-x;
x *= x;
return -(C1 + x*(C2+x*(C3+C4*x)));
}
}
Is the definition of this function in someway related to ogg_static file?
Please help.
Thanks & regards,
Asheesh
--- >8 ----
List archives...