I found out that sometimes division by zero exception can occur in libspeex if it is compiled with FIXED_POINT macro. This happens in lpc.c:94, the following line of code <speex-dev at xiph.org> r = DIV32_16(rr+PSHR32(error,1),ADD16(error,8)); It happens rarely only on machine with no microphone attached (so practically constant input signal), application crashes after about a minute of encoding. Platform: WinXP SP3, VS2005 SP1, Speex compiled with Full Optimization Does anybody have an idea how to fix it? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100407/8b130231/attachment.htm