fixed-point: overflow debugging now works again.

This commit is contained in:
Jean-Marc Valin 2008-02-29 16:07:40 +11:00
parent 8600f69f79
commit 2aaa0fee93
3 changed files with 10 additions and 5 deletions

View file

@ -61,12 +61,15 @@ struct kiss_fft_state{
#define TRIG_UPSCALE 65536
#define TWID_MAX 2147483647
#endif
#define EXT32(a) (a)
#else /* DOUBLE_PRECISION */
# define FRACBITS 15
# define SAMPPROD celt_int32_t
#define SAMP_MAX 32767
#define TRIG_UPSCALE 1
#define EXT32(a) EXTEND32(a)
#endif /* !DOUBLE_PRECISION */