[vorbis-dev] Borland Builder

Monty xiphmont at xiph.org
Fri Jul 14 14:29:27 PDT 2000



> 
> The following modification is needed in os.h to compile under
> C++Builder.  It has the alloca prototype in malloc.h.
> 
> #ifndef __GNUC__
> #ifdef _WIN32
> #  ifdef __BORLANDC__
> #    include <malloc.h>
> #  else
> #    define alloca(x) (_alloca(x))
> #  endif
> #  define rint(x)   (floor((x)+0.5))
> #endif
> #endif

Thanks, I'll have this in tonight.

> 
> Encoding a full range pure tone (500Hz) seems to cause a domain error
> in sqrt().  Can anyone confirm that under Linux?

Could you send (to me only please, not the list) the actual sample you used to 
cause the error?

Thanks,

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list